1 changed files with 6 additions and 2 deletions
@ -1,5 +1,9 @@ |
|||||||
class RemoveAnnomarkIdInAnnotations < ActiveRecord::Migration[6.1] |
class RemoveAnnomarkIdInAnnotations < ActiveRecord::Migration[6.1] |
||||||
def change |
def up |
||||||
safety_assured { remove_column :annotations, :annomark_id, :integer, null: false } |
safety_assured { remove_column :annotations, :annomark_id, :integer } |
||||||
|
end |
||||||
|
|
||||||
|
def down |
||||||
|
add_column :annotations, :annomark_id, :integer, null: false |
||||||
end |
end |
||||||
end |
end |
||||||
|
|||||||
Loading…
Reference in new issue