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

« back to all changes in this revision

Viewing changes to userdb/users.sql

  • Committer: dcoles
  • Date: 2008-04-14 03:52:13 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:731
Help: Wrote a small help document for the console app. Now one less glaring 
'TODO:' in IVLE.

Show diffs side-by-side

added added

removed removed

Lines of Context:
115
115
    spec        VARCHAR
116
116
);
117
117
 
 
118
CREATE TABLE worksheet (
 
119
    worksheetid SERIAL PRIMARY KEY NOT NULL,
 
120
    subject     VARCHAR NOT NULL,
 
121
    identifier  VARCHAR NOT NULL,
 
122
    assessable  BOOLEAN,
 
123
    mtime       TIMESTAMP,
 
124
    UNIQUE (subject, identifier)
 
125
);
 
126
 
 
127
CREATE TABLE worksheet_problem (
 
128
    worksheetid INT4 REFERENCES worksheet (worksheetid) NOT NULL,
 
129
    problemid   INT4 REFERENCES problem (problemid) NOT NULL,
 
130
    optional    BOOLEAN,
 
131
    PRIMARY KEY (worksheetid, problemid)
 
132
);
 
133
 
118
134
CREATE TABLE problem_tag (
119
135
    problemid   INT4 REFERENCES problem (problemid),
120
136
    tag         VARCHAR NOT NULL,