Fixed Project releationships and database migration

This commit is contained in:
ricky committed 2017-11-17 10:14:05 -05:00
1 parent dba6c4b131
commit d98a8b8cc4
4 files changed
+8 -14

No files matched your search

+2 -2
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