mirror of
https://github.com/fspc/bike-database.git
synced 2026-09-16 16:41:38 -04:00
Louis | Allows users to associate clients with agencies
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
class AddAgencyToClient < ActiveRecord::Migration
|
||||
def change
|
||||
add_reference :clients, :agency, index: true
|
||||
end
|
||||
end
|
||||
@@ -0,0 +1,5 @@
|
||||
class RemoveAgencyStringFromClient < ActiveRecord::Migration
|
||||
def change
|
||||
remove_column :clients, :agency
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user