mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-26 09:42:46 +08:00
9 lines
265 B
Ruby
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
|