mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-29 03:35:25 +08:00
6 lines
215 B
Ruby
6 lines
215 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
|