mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-28 19:24:10 +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
|