Fixed Project releationships and database migration

This commit is contained in:
2017-11-17 10:14:05 -05:00
parent dba6c4b131
commit d98a8b8cc4
4 changed files with 8 additions and 14 deletions

View File

@@ -10,7 +10,7 @@
class UpdateProjects < ActiveRecord::Migration
def change
add_reference :projects, :customers, index: true
add_reference :projects, :vehicles, index: true
add_reference :projects, :customer, index: true
add_reference :projects, :vehicle, index: true
end
end