scinote-web/db/migrate/20150714125221_add_archive_to_projects.rb
2016-02-12 16:52:43 +01:00

6 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