So when upgrading from 6.0.5 to 6.2.4 which of those migrations would be run?
We have an issue where if we're going to deploy live our own migrations will break unless we run them against the 6.2.4 db so we want to run the core umbraco db upgrade before running our own migrations..
How to find out what db changes were made when upgrading?
Hi I upgraded from 6.0.5 to 6.2.4 and I'd like to know if there's a sql file or a change log of what is done when upgrading?
Thanks
Hi Tom,
You can find this information in the source code ; https://github.com/umbraco/Umbraco-CMS/tree/6.2.5/src/Umbraco.Core/Persistence/Migrations/Upgrades
Look in the folders for the versions higher than your version. You can see there what will be done on the database.
Dave
Thanks Dave,
So when upgrading from 6.0.5 to 6.2.4 which of those migrations would be run?
We have an issue where if we're going to deploy live our own migrations will break unless we run them against the 6.2.4 db so we want to run the core umbraco db upgrade before running our own migrations..
You need the migrations from the following folders : TargetVersionSixOneZero and TargetVersionSixTwoZero
The updates are executed by the Umbraco Implemtation of PetaPoco. But you can convert them to sql statements.
Dave
Thanks Dave,
I managed to set up an application context in a console app and run this:
var migrationRunner = new Umbraco.Core.Persistence.Migrations.MigrationRunner(new Version("6.0.5"), new Version("6.2.4"), "Umbraco");
var result = migrationRunner.Execute(new UmbracoDatabase(base.ConnectionString, "System.Data.SqlClient"));
is working on a reply...