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

« back to all changes in this revision

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

  • Committer: William Grant
  • Date: 2009-04-07 03:34:59 UTC
  • mto: This revision was merged to the branch mainline in revision 1174.
  • Revision ID: grantw@unimelb.edu.au-20090407033459-dcwv6evw4ku8kt0o
Remove the NOT NULL and default from project_set.max_students_per_group.

NULL now means it's a solo project - 0 means there is no limit.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
BEGIN;
2
2
 
 
3
ALTER TABLE project_set ALTER COLUMN max_students_per_group DROP NOT NULL;
 
4
ALTER TABLE project_set ALTER COLUMN max_students_per_group DROP DEFAULT;
 
5
 
3
6
ALTER TABLE project ALTER COLUMN synopsis TYPE TEXT;
4
7
ALTER TABLE project ALTER COLUMN url TYPE TEXT;
5
8
ALTER TABLE project ADD COLUMN short_name TEXT NOT NULL;