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

Data migration - migrate Canto assets that have already been added to Craft with the existing codebase to the new approach's schema #34

Open
ericdrosas87 opened this issue Mar 28, 2023 · 5 comments
Assignees
Labels

Comments

@ericdrosas87
Copy link
Contributor

No description provided.

@ericdrosas87
Copy link
Contributor Author

One thing I wanted to mention is that @blnkt reminded me that we only have 51 assets from Canto currently added to entries, so we should weigh the trade-off of having our content creators re-add the assets manually with the new version of the field versus auto DB migration.

@khalwat
Copy link
Collaborator

khalwat commented Apr 14, 2023

Well, that's an answer I can't answer for you -- but yeah it's possible it might be easier to just have them do it.

So the tradeoff is a one-time migration and the engineering / testing effort vs. them doing it manually.

@ericdrosas87
Copy link
Contributor Author

Can you estimate based on doing this programmatically and Blake and I can assess manual/programmatic migration on our side?

@blnkt
Copy link

blnkt commented Apr 15, 2023

I think this is not worth; not worth estimating. There is no doubt in my mind: it will be easier to just have them do it manually than engineer, test, and run some migration.

@khalwat
Copy link
Collaborator

khalwat commented Apr 19, 2023

Writing the code to do it won't be horrible, but to test it anywhere other than a vacuum, I'd need to get a copy of the production db & composer.json so I can spin it up locally to test against your actual data.

Estimate: 4 hours

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants