scinote-web/db/migrate/20150924181017_add_archive_to_results.rb
2017-06-30 10:23:28 +02:00

7 lines
207 B
Ruby

class AddArchiveToResults < ActiveRecord::Migration[4.2]
def change
add_column :results, :archived, :boolean, { default: false, null: false }
add_column :results, :archived_on, :datetime
end
end