demarches-normaliennes/db/migrate/20180416122152_add_service_to_procedures.rb

6 lines
142 B
Ruby
Raw Normal View History

2018-04-17 16:11:49 +02:00
class AddServiceToProcedures < ActiveRecord::Migration[5.2]
def change
add_reference :procedures, :service, foreign_key: true
end
end