mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-28 19:24:10 +08:00
7 lines
205 B
Ruby
7 lines
205 B
Ruby
|
class AddArchiveToProjects < ActiveRecord::Migration
|
||
|
def change
|
||
|
add_column :projects, :archived, :boolean, { default: false, null: false }
|
||
|
add_column :projects, :archived_on, :datetime
|
||
|
end
|
||
|
end
|