mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-08 00:23:01 +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
|