Add SetDefaultBranchDefaultToNil migration

default_branch now defaults to nil, not 'master'. It will be set after the first
push by discover_default_branch.
This commit is contained in:
Robert Speicher 2012-09-05 01:00:07 -04:00
parent 36738897bf
commit f06d98e907
3 changed files with 22 additions and 10 deletions

View file

@ -187,7 +187,7 @@ end
# private_flag :boolean(1) default(TRUE), not null
# code :string(255)
# owner_id :integer(4)
# default_branch :string(255) default("master"), not null
# default_branch :string(255)
# issues_enabled :boolean(1) default(TRUE), not null
# wall_enabled :boolean(1) default(TRUE), not null
# merge_requests_enabled :boolean(1) default(TRUE), not null