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

« back to all changes in this revision

Viewing changes to userdb/users.sql

  • Committer: William Grant
  • Date: 2009-06-29 01:55:55 UTC
  • mto: This revision was merged to the branch mainline in revision 1322.
  • Revision ID: grantw@unimelb.edu.au-20090629015555-49xxv0piiieunx8e
Add docs on configuring Apache.

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)
67
66
    synopsis    TEXT,
68
67
    url         TEXT,
69
68
    projectsetid  INTEGER REFERENCES project_set (projectsetid) NOT NULL,
70
 
    deadline    TIMESTAMP NOT NULL
 
69
    deadline    TIMESTAMP
71
70
);
72
71
 
73
72
CREATE OR REPLACE FUNCTION check_project_namespacing_insertupdate()