index for commit_id. Schema rebuiled. Non rollback migration exception added
This commit is contained in:
parent
96af55bb85
commit
69c8231b49
3 changed files with 20 additions and 13 deletions
|
@ -15,7 +15,6 @@ class MoveNoteableCommitToOwnField < ActiveRecord::Migration
|
|||
end
|
||||
|
||||
def down
|
||||
remove_column :notes, :commit_id
|
||||
remove_column :notes, :new_noteable_id
|
||||
raise ActiveRecord::IrreversibleMigration
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue