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

6 lines
211 B
Ruby

class AddArchiveToMyModules < ActiveRecord::Migration[4.2]
def change
add_column :my_modules, :archived, :boolean, default: false, null: false
add_column :my_modules, :archived_on, :datetime
end
end