scinote-web/db/migrate/20150714125221_add_archive_to_projects.rb
2023-06-21 14:38:32 +02:00

6 lines
206 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