Migrations refactored ro support data convertion
This commit is contained in:
parent
41e97a766b
commit
e5f048f44d
17 changed files with 125 additions and 60 deletions
|
@ -0,0 +1,9 @@
|
|||
class RemoveClosedFromMergeRequest < ActiveRecord::Migration
|
||||
def up
|
||||
remove_column :merge_requests, :closed
|
||||
end
|
||||
|
||||
def down
|
||||
add_column :merge_requests, :closed, :boolean
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue