diff options
Diffstat (limited to 'db/migrate/20131106151520_remove_default_branch.rb')
-rw-r--r-- | db/migrate/20131106151520_remove_default_branch.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/db/migrate/20131106151520_remove_default_branch.rb b/db/migrate/20131106151520_remove_default_branch.rb new file mode 100644 index 00000000000..88a890eb3eb --- /dev/null +++ b/db/migrate/20131106151520_remove_default_branch.rb @@ -0,0 +1,9 @@ +class RemoveDefaultBranch < ActiveRecord::Migration + def up + remove_column :projects, :default_branch + end + + def down + add_column :projects, :default_branch, :string + end +end |