Search before asking
Description
Existing users is to be renamed to accounts and moved to domainlayer/crossdomain package, it contains registration records from different platforms
Add a new table users (id varchar,name,email) in domainlayer/crossdomain, it contains unique identities, each identity may have multiple accounts
Add a new table user_accounts in domainlayer/crossdomain, it contains the relationship between users and accounts, note that user_accounts is a One-To-Many relationship, the PK should be account_id
Add a new table teams in domainlayer/crossdomain.
Add a new table team_users in domainlayer/crossdomain, it contains the Many2Many relationship between users and teams.
Use case
No response
Related issues
No response
Are you willing to submit a PR?
Code of Conduct
Search before asking
Description
Existing users is to be renamed to accounts and moved to domainlayer/crossdomain package, it contains registration records from different platforms
Add a new table users (id varchar,name,email) in domainlayer/crossdomain, it contains unique identities, each identity may have multiple accounts
Add a new table user_accounts in domainlayer/crossdomain, it contains the relationship between users and accounts, note that user_accounts is a One-To-Many relationship, the PK should be account_id
Add a new table teams in domainlayer/crossdomain.
Add a new table team_users in domainlayer/crossdomain, it contains the Many2Many relationship between users and teams.
Use case
No response
Related issues
No response
Are you willing to submit a PR?
Code of Conduct