scinote-web/db/migrate/20150924181017_add_archive_to_results.rb
2016-02-12 16:52:43 +01:00

6 lines
202 B
Ruby

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