abeizn opened a new issue, #2431: URL: https://github.com/apache/incubator-devlake/issues/2431
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/incubator-devlake/issues?q=is%3Aissue) and found no similar feature requirement. ### 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? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
