A
A
Alexander2021-07-16 23:04:34
SQL
Alexander, 2021-07-16 23:04:34

How to merge user tables from 2 different projects?

There are 2 projects with tables identical in structure. Users are added to them with their login, email and password. Moreover, there are options that one user participates in both projects. Sometime under the same logins, sometime under different ones. It happens that one login is busy in another project and another one is taken. Some users are in only one of the projects, etc.
The task was to combine everything within the framework of one project, which means it is necessary to merge users into one table. How to do it in the least traumatic way for them? It is clear that you can add a project prefix to the login, for example. But I want to do it more gracefully, for example, merge 2 users from different projects into one if they have a common owner.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ivan Shumov, 2021-07-16
@inoise

Reading about Identity Server and User Pool

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question