Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to use Automigrate to merge two tables into one #7028

Open
pingsutw opened this issue May 17, 2024 · 0 comments
Open

How to use Automigrate to merge two tables into one #7028

pingsutw opened this issue May 17, 2024 · 0 comments
Assignees
Labels
type:question general questions

Comments

@pingsutw
Copy link

Your Question

I have two tables in the database, and I want to run a migration to merge those two tables into one.
For now, I read two tables into memory and then insert each row into the third table.
I want to know if there is a best practice to do that.

Expected answer

It would be great if anyone can share an example

@pingsutw pingsutw added the type:question general questions label May 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:question general questions
Projects
None yet
Development

No branches or pull requests

2 participants