mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-08 00:23:01 +08:00
9 lines
259 B
Ruby
9 lines
259 B
Ruby
|
class RenameSyncedChildrenToLinkedChildren < ActiveRecord::Migration
|
||
|
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
|