demarches-normaliennes/db/migrate/20220712141913_add_manager_to_assign_tos.rb
2024-08-22 09:26:48 +02:00

12 lines
269 B
Ruby

# frozen_string_literal: true
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