mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-10 17:36:33 +08:00
7 lines
202 B
Ruby
7 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
|