mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-11 01:44:34 +08:00
6 lines
210 B
Ruby
6 lines
210 B
Ruby
class AddArchiveToProjects < ActiveRecord::Migration[4.2]
|
|
def change
|
|
add_column :projects, :archived, :boolean, { default: false, null: false }
|
|
add_column :projects, :archived_on, :datetime
|
|
end
|
|
end
|