~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: 2008-07-02 05:11:10 UTC
  • Revision ID: wgrant@ivle-dev-20080702051110-dgd9p3vgnzslnl3z
remakeallusers.py: Clean up, removing obsolete bits, and using Python's
    logging module. This allows us to be quiet by default (pass -v to
    see what's happening), and gives nice timestamps (the main reason).

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;