Closed klondikemarlen closed 1 year ago
Fixes ELCC-15
Add standard id based foreign key linking users and user_roles table. Check if any other tables are missing this kind of thing.
users
user_roles
Link users.id -> user_roles.user_id
Boot the app via dev up, this also check that migrations run.
dev up
Check that the app complies, and that you can log in at http://localhost:8080.
Check that you can role the migration back and forward via
dev migrate down -- --step 2 dev migrate up
Fixes ELCC-15
Context
Add standard id based foreign key linking
users
anduser_roles
table. Check if any other tables are missing this kind of thing.Implemenation
Link users.id -> user_roles.user_id
Testing Instructions
Boot the app via
dev up
, this also check that migrations run.Check that the app complies, and that you can log in at http://localhost:8080.
Check that you can role the migration back and forward via