demarches-normaliennes/db/migrate/20220712141913_add_manager_to_assign_tos.rb

10 lines
238 B
Ruby

class AddManagerToAssignTos < ActiveRecord::Migration[6.1]
def up
add_column :assign_tos, :manager, :boolean
change_column_default :assign_tos, :manager, false
end
def down
remove_column :assign_tos, :manager
end
end