2023-09-04 12:07:04 +02:00
|
|
|
class AddGroupeGestionnaireToAdministrateurs < ActiveRecord::Migration[7.0]
|
|
|
|
disable_ddl_transaction!
|
|
|
|
|
|
|
|
def change
|
2023-10-10 11:00:05 +02:00
|
|
|
# Foreign key is added in a later migration
|
|
|
|
add_reference :administrateurs, :groupe_gestionnaire, index: { algorithm: :concurrently }, null: true, foreign_key: false
|
2023-09-04 12:07:04 +02:00
|
|
|
end
|
|
|
|
end
|