mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-13 12:47:11 +08:00
7 lines
211 B
Ruby
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
|
|
|