Changeset 1130
- Timestamp:
- Sep 3, 2008 8:36:02 AM (5 years ago)
- File:
-
- 1 edited
-
trunk/jpdd/sql/db.sql (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/jpdd/sql/db.sql
r968 r1130 1012 1012 CREATE UNIQUE INDEX person_email_ci_unique ON person (lower(email)); 1013 1013 ALTER TABLE person DROP CONSTRAINT person_email_unique; 1014 1015 -- record what date the person was created: 1016 1017 ALTER TABLE person ADD COLUMN created_on timestamp with time zone; 1018 UPDATE person SET created_on = now(); 1019 ALTER TABLE person ALTER COLUMN created_on SET DEFAULT now(); 1020 ALTER TABLE person ALTER COLUMN created_on SET NOT NULL; 1021 1022 -- allow recording of a person's subject interests independently of 1023 -- their workshop attendance: 1024 1025 CREATE TABLE person_interest (person_id integer NOT NULL REFERENCES 1026 person(id), category_id integer NOT NULL REFERENCES category(id));
Note: See TracChangeset
for help on using the changeset viewer.

