7 lines
158 B
Ruby
7 lines
158 B
Ruby
|
class AddUserToDossier < ActiveRecord::Migration
|
||
|
def change
|
||
|
add_reference :dossiers, :user, index: true
|
||
|
add_foreign_key :dossiers, :users
|
||
|
end
|
||
|
end
|