Changeset 445 for trunk/app/config
- Timestamp:
- 05/02/08 13:22:37 (7 months ago)
- Files:
-
- 1 modified
-
trunk/app/config/sql/postgresql/participations.sql (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/app/config/sql/postgresql/participations.sql
r444 r445 1 1 CREATE TABLE participations ( -- tests student results 2 id serial NOT NULL UNIQUE,2 id serial NOT NULL PRIMARY KEY, 3 3 user_id int NOT NULL REFERENCES users(id) ON DELETE CASCADE, 4 points smallint NOT NULL DEFAULT 1, 4 points smallint NOT NULL DEFAULT 0, 5 participation text NOT NULL, 5 6 forum_id int NOT NULL REFERENCES forums(id) ON DELETE CASCADE, 6 vclassroom_id int NOT NULL REFERENCES vclassrooms(id) ON DELETE CASCADE, 7 PRIMARY KEY (user_id, forum_id, vclassroom_id) 7 vclassroom_id int NOT NULL REFERENCES vclassrooms(id) ON DELETE CASCADE 8 8 ); 9 9 -- Test model tables ends
