2017-06-30 16:23:28 +08:00
|
|
|
class AddArchiveToMyModules < ActiveRecord::Migration[4.2]
|
2016-02-12 23:52:43 +08:00
|
|
|
def change
|
|
|
|
add_column :my_modules, :archived, :boolean, { default: false, null: false }
|
|
|
|
add_column :my_modules, :archived_on, :datetime
|
|
|
|
end
|
|
|
|
end
|