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

« back to all changes in this revision

Viewing changes to userdb/users.sql

  • Committer: stevenbird
  • Date: 2008-01-29 20:27:45 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:326
tweaked worksheet and exercise to test automatic checkout in running system

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
    studentid   VARCHAR -- may be null
8
8
);
9
9
 
 
10
DROP TABLE offerings CASCADE;
 
11
CREATE TABLE offerings (
 
12
    offeringid  SERIAL PRIMARY KEY NOT NULL,
 
13
    subj_name   VARCHAR NOT NULL,
 
14
    subj_code   VARCHAR NOT NULL,
 
15
    year        CHAR(4) NOT NULL,
 
16
    semester    INT NOT NULL
 
17
);
 
18
 
10
19
DROP TABLE groups CASCADE;
11
20
CREATE TABLE groups (
12
21
    groupnm       VARCHAR NOT NULL,
131
140
);
132
141
 
133
142
DROP INDEX problem_attempt_index;
134
 
CREATE INDEX problem_attempt_index ON problem_attempt (problemid, login);
 
143
CREATE INDEX problem_attempt_index ON problem_attempt (problemid, loginid);
135
144
 
136
145
DROP TABLE problem_attempt_breakdown CASCADE;
137
146
CREATE TABLE problem_attempt_breakdown (