Re: Tables design question

Поиск
Список
Период
Сортировка
От David G. Johnston
Тема Re: Tables design question
Дата
Msg-id CAKFQuwZJ5nQw9Tx0vtFnbuDPu=K4eRHhsXsTq030ioMq9qTX+Q@mail.gmail.com
обсуждение исходный текст
Ответ на Tables design question  (JORGE MALDONADO <jorgemal1960@gmail.com>)
Список pgsql-novice
On Wednesday, March 28, 2018, JORGE MALDONADO <jorgemal1960@gmail.com> wrote:
The table "corequisites" has data about courses that must be taken at the same time that another course.




I would consider setting up corequisites as (id serial, course_group_members integer[]) with an exclusion constraint that no course_id can appear in more than one array.

David J.
Вложения

В списке pgsql-novice по дате отправления:

Предыдущее
От: JORGE MALDONADO
Дата:
Сообщение: Tables design question
Следующее
От: Garry Chen
Дата:
Сообщение: Question about pg_class column relpartbound