scinote-web/db/migrate/20160421100400_add_published_on_to_protocols.rb

10 lines
196 B
Ruby
Raw Normal View History

2017-06-30 16:23:28 +08:00
class AddPublishedOnToProtocols < ActiveRecord::Migration[4.2]
2016-07-21 19:11:15 +08:00
def up
add_column :protocols, :published_on, :datetime
end
def down
remove_column :protocols, :published_on
end
end