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

12 lines
252 B
Ruby

# frozen_string_literal: true
class CreateProceduresAndZones < ActiveRecord::Migration[6.1]
def change
create_table :procedures_zones, id: false do |t|
t.belongs_to :procedure
t.belongs_to :zone
t.timestamps
end
end
end