demarches-normaliennes/db/migrate/20211127143736_add_zone_to_procedures.rb

6 lines
148 B
Ruby
Raw Normal View History

2021-12-01 21:05:15 +01:00
class AddZoneToProcedures < ActiveRecord::Migration[6.1]
def change
add_reference :procedures, :zone, null: true, foreign_key: true
end
end