scinote-web/db/migrate/20160531094100_rename_synced_children_to_linked_children.rb
2017-06-30 10:23:28 +02:00

9 lines
265 B
Ruby

class RenameSyncedChildrenToLinkedChildren < ActiveRecord::Migration[4.2]
def up
rename_column :protocols, :nr_of_synced_children, :nr_of_linked_children
end
def down
rename_column :protocols, :nr_of_linked_children, :nr_of_synced_children
end
end