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

« back to all changes in this revision

Viewing changes to userdb/migrations/20091217-01.sql

  • Committer: William Grant
  • Date: 2009-02-27 05:07:09 UTC
  • Revision ID: grantw@unimelb.edu.au-20090227050709-k16kvhyl50nzjbwm
Subject URLs now contain the short name (eg. info1) rather than the code
(eg. 600151).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
BEGIN;
2
 
 
3
 
ALTER TABLE offering ADD COLUMN description TEXT;
4
 
ALTER TABLE offering ADD COLUMN url TEXT;
5
 
 
6
 
UPDATE offering SET url = (SELECT url FROM subject WHERE subject.subjectid = offering.subject);
7
 
 
8
 
ALTER TABLE subject DROP COLUMN url;
9
 
 
10
 
COMMIT;