| От | Bruno Wolff III |
|---|---|
| Тема | Re: advice on setting up schema sought |
| Дата | |
| Msg-id | 20060411164245.GA1599@wolff.to обсуждение |
| Ответ на | Re: advice on setting up schema sought (<operationsengineer1@yahoo.com>) |
| Ответы |
Re: advice on setting up schema sought
|
| Список | pgsql-novice |
On Mon, Apr 10, 2006 at 22:30:47 -0700, operationsengineer1@yahoo.com wrote: > > Daniel, i'm not sure i totally understand your > request. from what i could make of it, though, would > this workd? > > t_text > text_id (pkey) > language_id (fkey) > text > > t_language > language_id (pkey) > language > > the foreign key of the t_text table would reference > the the pkey (primary key) of the t_language. In the translation table, you need to make the primary key a composite of text_id and language_id so that only one unique combination of the two is allowed.
В списке pgsql-novice по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера