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

« back to all changes in this revision

Viewing changes to userdb/users.sql

  • Committer: William Grant
  • Date: 2009-12-09 00:02:49 UTC
  • mto: This revision was merged to the branch mainline in revision 1384.
  • Revision ID: grantw@unimelb.edu.au-20091209000249-y1teiw7yxkyhuhvd
Indicate when there is nobody assigned to a project, and link to the page to fix that.

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
    subjectid       SERIAL PRIMARY KEY NOT NULL,
29
29
    subj_code       VARCHAR UNIQUE NOT NULL,
30
30
    subj_name       VARCHAR NOT NULL,
31
 
    subj_short_name VARCHAR UNIQUE NOT NULL
 
31
    subj_short_name VARCHAR UNIQUE NOT NULL,
 
32
    url             VARCHAR
32
33
);
33
34
 
34
35
CREATE TABLE semester (
44
45
    offeringid  SERIAL PRIMARY KEY NOT NULL,
45
46
    subject     INT4 REFERENCES subject (subjectid) NOT NULL,
46
47
    semesterid  INTEGER REFERENCES semester (semesterid) NOT NULL,
47
 
    description VARCHAR,
48
 
    url         VARCHAR,
49
48
    groups_student_permissions  VARCHAR NOT NULL DEFAULT 'none',
50
49
    CHECK (groups_student_permissions in ('none', 'invite', 'create')),
51
50
    UNIQUE (subject, semesterid)