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

8 lines
179 B
Ruby
Raw Normal View History

# frozen_string_literal: true
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