Changeset 444 for trunk/app/config
- Timestamp:
- 05/01/08 23:19:28 (7 months ago)
- Location:
- trunk/app/config/sql/postgresql
- Files:
-
- 3 added
- 1 modified
-
participations.sql (added)
-
result_treasures.sql (added)
-
result_webquests.sql (added)
-
topics.sql (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/app/config/sql/postgresql/topics.sql
r436 r444 4 4 message text NOT NULL, 5 5 created timestamp(0) with time zone DEFAULT now() NOT NULL, 6 forum_id integer NOT NULL REFERENCES forums(id) ON DELETE CASCADE, 6 forum_id int NOT NULL REFERENCES forums(id) ON DELETE CASCADE, 7 vclassroom_id int NOT NULL REFERENCES vclassrooms(id) ON DELETE CASCADE, -- just one facility to create student's reports 7 8 user_id integer NOT NULL REFERENCES users(id) ON DELETE CASCADE, 8 status int NOT NULL DEFAULT 1,9 views int NOT NULL DEFAULT 0 -- number of times the topic has been seen9 status smallint NOT NULL DEFAULT 1, 10 views smallint NOT NULL DEFAULT 0 -- number of times the topic has been seen 10 11 ); 11 12
