~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-11 07:39:15 UTC
  • Revision ID: matt.giuca@gmail.com-20100211073915-rirq98zg3sanvf09
Submit view: The projects list is now identical (except for radio buttons) to the view on the subjects page. It is much clearer and contains more info. The code is somewhat different, because it's a table, not a list, so I didn't abstract it. Moved a function out of subject.py to ivle.util, as it is shared by both views.

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;