scinote-web/db/migrate/20150714125221_add_archive_to_projects.rb
2017-06-30 10:23:28 +02:00

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