The main application uses the "users" table to store users' credentials. OAuth server uses its own user_credentials table for storing the same data. For this reason, some changes require. It is preferable to store common data in one table without duplication.
Summary of change
Transfer data entities from home-oauth-server to the 'home-data'
Add column user_credentials_id to table users like FK on table user_credentials
Change logoutAll() implementation (redirected credential changes to user_credentials table).
CHECK LIST
[ ] СI passed
[ ] Сode coverage >=95%
[ ] PR is reviewed manually again (to make sure you have 100% ready code)
[ ] All reviewers agreed to merge the PR
[ ] I've checked new feature as logged in and logged out user if needed
dev
ZenHub
Summary of issue
The main application uses the "users" table to store users' credentials. OAuth server uses its own user_credentials table for storing the same data. For this reason, some changes require. It is preferable to store common data in one table without duplication.
Summary of change
home-oauth-server
to the 'home-data'user_credentials_id
to tableusers
like FK on tableuser_credentials
user_credentials
table).CHECK LIST