Does anyone know if there is just a SQL script that can be run on a EE v1 database to convert it to an EE v2 database?
I don’t need to modify the templates or anything.
—Dan
This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.
The active forums are here.
March 12, 2012 10:06am
Subscribe [1]#1 / Mar 12, 2012 10:06am
Does anyone know if there is just a SQL script that can be run on a EE v1 database to convert it to an EE v2 database?
I don’t need to modify the templates or anything.
—Dan
#2 / Mar 12, 2012 7:12pm
Hi uxdan,
Converting the database to 2.4 is done with the upgrade script when upgrading to 2.4. The move from 1.x to 2.x involved a major architectural change and as such your 1.x add-ons will not be compatible with 2.x. This means that you’ll need to update all of your existing add-ons to 2.x compatible versions and/or find replacements.
If you were to upgrade your database without updating the files for EE 1.x to EE 2.x your site would not function correctly. When you are ready to upgrade to 2.4 please read the upgrade instructions carefully and pay special attention to the part about backing up your site.
Is there anything else I can do to help you?
Sean
#3 / Mar 13, 2012 9:45am
I have deleted all my addons and templates. I’m starting from scratch in that regard, but I still wanted to keep all of my data that is in EE 1.x.
I just thought it might be easier to be able to run a SQL script against the database to convert it to the EE 2.x schema. I’m dealing with a handful of weblogs (channels), with a few custom fields, but that is about it. Thoughts?
#4 / Mar 13, 2012 7:27pm
usdan,
In this case i would recommend going through with the upgrade to 2.x and then deleting or removing whatever you no longer need. This will be the easiest way to keep existing content.
Sean