2024-04-29 00:17:15 +02:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2019-08-09 09:45:11 +02:00
|
|
|
class LinkUserAndAdministrateur < ActiveRecord::Migration[5.2]
|
|
|
|
def change
|
|
|
|
add_reference :users, :administrateur, index: true
|
|
|
|
add_foreign_key :users, :administrateurs
|
|
|
|
end
|
|
|
|
end
|