Changeset 563 for trunk/app/config

Show
Ignore:
Timestamp:
05/26/08 22:47:53 (6 months ago)
Author:
aarkerio
Message:

Reports

Location:
trunk/app/config/sql/postgresql
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/app/config/sql/postgresql/participations.sql

    r562 r563  
    55   points smallint NOT NULL DEFAULT 1, 
    66   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 
    89); 
    910-- Test model tables ends 
  • trunk/app/config/sql/postgresql/replies.sql

    r461 r563  
    66 vclassroom_id int NOT NULL REFERENCES vclassrooms(id) ON DELETE CASCADE, -- just one facility to create student's reports 
    77 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 
    910); 
    1011