mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-04 06:36:27 +08:00
9 lines
No EOL
259 B
Ruby
9 lines
No EOL
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 |