2024-04-29 00:17:15 +02:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2022-08-24 12:39:07 +02:00
|
|
|
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
|