Support the ongoing development of Laravel.io →
Database Eloquent
Last updated 2 years ago.
0

Depending on the old design and how much the change is to the new design, your idea sounds like it would work.

I might make a json for each record which includes the relationship, that would allow me to have a single record backup.

But, it really depends on how different the new db is and how complex the relationships are. I'm assuming it is very different.

0

Hi! thanks @TerrePorter,

Yes... the old DB is very different in comparison with the new one. So I think you're right, I'll go with make a json per record, I think it's going to be easier to perform what I need.

Thanks!

0

Sign in to participate in this thread!

Eventy

Your banner here too?

px87 px87 Joined 25 Jan 2016

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.