Changeset 563 for trunk/app/config
- Timestamp:
- 05/26/08 22:47:53 (6 months ago)
- Location:
- trunk/app/config/sql/postgresql
- Files:
-
- 2 modified
-
participations.sql (modified) (1 diff)
-
replies.sql (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/app/config/sql/postgresql/participations.sql
r562 r563 5 5 points smallint NOT NULL DEFAULT 1, 6 6 participation text NOT NULL, 7 vclassroom_id int NOT NULL REFERENCES vclassrooms(id) ON DELETE CASCADE 7 vclassroom_id int NOT NULL REFERENCES vclassrooms(id) ON DELETE CASCADE, 8 "created" timestamp(0) with time zone DEFAULT now() NOT NULL 8 9 ); 9 10 -- Test model tables ends -
trunk/app/config/sql/postgresql/replies.sql
r461 r563 6 6 vclassroom_id int NOT NULL REFERENCES vclassrooms(id) ON DELETE CASCADE, -- just one facility to create student's reports 7 7 user_id int NOT NULL REFERENCES users(id) ON DELETE CASCADE, 8 status int NOT NULL DEFAULT 1 8 status smallint NOT NULL DEFAULT 1, 9 points smallint NOT NULL DEFAULT 1 9 10 ); 10 11
