~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to userdb/users.sql

  • Committer: William Grant
  • Date: 2009-04-07 03:34:59 UTC
  • mto: This revision was merged to the branch mainline in revision 1174.
  • Revision ID: grantw@unimelb.edu.au-20090407033459-dcwv6evw4ku8kt0o
Remove the NOT NULL and default from project_set.max_students_per_group.

NULL now means it's a solo project - 0 means there is no limit.

Show diffs side-by-side

added added

removed removed

Lines of Context:
56
56
CREATE TABLE project_set (
57
57
    projectsetid  SERIAL PRIMARY KEY NOT NULL,
58
58
    offeringid    INTEGER REFERENCES offering (offeringid) NOT NULL,
59
 
    max_students_per_group  INTEGER NOT NULL DEFAULT 4
 
59
    max_students_per_group  INTEGER
60
60
);
61
61
 
62
62
CREATE TABLE project (