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

« back to all changes in this revision

Viewing changes to userdb/users.sql

  • Committer: mattgiuca
  • Date: 2008-07-15 07:19:34 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:875
Added "migrations" directory, which contains incremental database update
    scripts.
Updated users.sql, uniqueness key on offering table.
Added migration matching this update to the migrations directory. Mm handy!

Show diffs side-by-side

added added

removed removed

Lines of Context:
31
31
    offeringid  SERIAL PRIMARY KEY NOT NULL,
32
32
    subject     INT4 REFERENCES subject (subjectid) NOT NULL,
33
33
    year        CHAR(4) NOT NULL,
34
 
    semester    CHAR(1) NOT NULL
 
34
    semester    CHAR(1) NOT NULL,
 
35
    UNIQUE (subject, year, semester)
35
36
);
36
37
 
37
38
CREATE TABLE project (