demarches-normaliennes/db/migrate/20221201091240_create_batch_operation_groupe_instructeur_join_table.rb

12 lines
356 B
Ruby

class CreateBatchOperationGroupeInstructeurJoinTable < ActiveRecord::Migration[6.1]
def change
safety_assured do
create_table "batch_operations_groupe_instructeurs", force: :cascade do |t|
t.bigint "batch_operation_id", null: false
t.bigint "groupe_instructeur_id", null: false
t.timestamps
end
end
end
end