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

« back to all changes in this revision

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

  • Committer: Matt Giuca
  • Date: 2010-02-04 03:08:35 UTC
  • Revision ID: matt.giuca@gmail.com-20100204030835-epwx6qs5ippwopl5
Tags: 1.0beta1
Added subversion dumps as part of sample data. ivle-loadsampledata loads these dumps, so the sample data now comes with sample files (requiring a checkout).

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;