demarches-normaliennes/db/migrate/20180419093104_add_administrateur_to_services.rb

6 lines
152 B
Ruby
Raw Normal View History

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