|
modifying relationship between users and organisations \n -users now belong_to organisation \n -organisations now have_many users \n -removed the depricated user_org_roles structure with migration \n -moved data out of that structure into the existing organisation_id field of users to complete relationship \n -re-evaluated functions to do with organisation_id field, as it was used as a placeholder before
|
|---|
|
|
| app/controllers/users_controller.rb |
|---|
| app/models/organisation.rb |
|---|
| app/models/user.rb |
|---|
| db/migrate/20161021100420_single_organisation_for_users.rb 0 → 100644 |
|---|