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

« back to all changes in this revision

Viewing changes to userdb/users.sql

  • Committer: Matt Giuca
  • Date: 2009-12-01 04:27:58 UTC
  • mfrom: (1164.2.46 sphinx-docs)
  • Revision ID: matt.giuca@gmail.com-20091201042758-wuxd9bdec00c283i
Merged sphinx-docs branch. This adds Sphinx documentation for the entire IVLE system (for system administrators and developers), and removes all of our random old document files (all either irrelevant, or moved into the Sphinx docs nicely). Currently incomplete, but ready to merge.

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)