Purpose
We have decided to remove the current Model DeviceAssignment and instead have chosen to incorporate user_id directly into our Device model. This will require for us to add additional attributes into our Device model such as:
User ID [FK]
Device Name
is Active
Expected Behavior
Upon the creation of a new Device record within our database we need to supply the respective user for which the device belongs too. Our Device model should contain the following attributes:
Purpose We have decided to remove the current Model
DeviceAssignment
and instead have chosen to incorporateuser_id
directly into ourDevice
model. This will require for us to add additional attributes into ourDevice
model such as:Expected Behavior Upon the creation of a new
Device
record within our database we need to supply the respective user for which the device belongs too. OurDevice
model should contain the following attributes: