'image' table with relationships to different objects

Поиск
Список
Период
Сортировка
От Louis-David Mitterrand
Тема 'image' table with relationships to different objects
Дата
Msg-id 20100209074909.GA11838@apartia.fr
обсуждение исходный текст
Ответы Re: 'image' table with relationships to different objects
Re: 'image' table with relationships to different objects
Список pgsql-sql
Hello,

In my database I have different object types (person, location, event,
etc.) all of which can have several images attached.

What is the best way to manage a single 'image' table with relationships
to (potentially) many different object types while keeping referrential
integrity (foreign keys)?

Thanks,


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