Re: My honours project - databases using dynamically attached entity-properties
От | Gregory Stark |
---|---|
Тема | Re: My honours project - databases using dynamically attached entity-properties |
Дата | |
Msg-id | 87k5xjnbm4.fsf@stark.xeocode.com обсуждение исходный текст |
Ответ на | Re: My honours project - databases using dynamically attached entity-properties (David Fetter <david@fetter.org>) |
Ответы |
Re: My honours project - databases using dynamically attached entity-properties
Re: My honours project - databases using dynamically attached entity-properties Re: My honours project - databases using dynamically attached entity-properties |
Список | pgsql-hackers |
"David Fetter" <david@fetter.org> writes: > CREATE TABLE symptom ( > symptom_id SERIAL PRIMARY KEY, /* See above. */ > ... > ); > > CREATE TABLE patient_presents_with ( > patient_id INTEGER NOT NULL REFERENCES patient(patient_id), > symptom_id INTEGER NOT NULL REFERENCES symptom(symptom_id), > UNIQUE(patient_id, symptom_id) > ); I'm just glad I don't have your doctor. I hope mine doesn't think symptoms are all boolean values. -- Gregory Stark EnterpriseDB http://www.enterprisedb.com
В списке pgsql-hackers по дате отправления: