demarches-normaliennes/db/migrate/20180416122152_add_service_to_procedures.rb
2018-05-18 16:21:26 +02:00

5 lines
142 B
Ruby

class AddServiceToProcedures < ActiveRecord::Migration[5.2]
def change
add_reference :procedures, :service, foreign_key: true
end
end