mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-12 04:06:53 +08:00
9 lines
196 B
Ruby
9 lines
196 B
Ruby
class AddPublishedOnToProtocols < ActiveRecord::Migration[4.2]
|
|
def up
|
|
add_column :protocols, :published_on, :datetime
|
|
end
|
|
|
|
def down
|
|
remove_column :protocols, :published_on
|
|
end
|
|
end
|