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