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

7 lines
211 B
Ruby

class AddArchiveToMyModules < ActiveRecord::Migration
def change
add_column :my_modules, :archived, :boolean, { default: false, null: false }
add_column :my_modules, :archived_on, :datetime
end
end