Quantcast
Channel: Developer to developer
Viewing all articles
Browse latest Browse all 9076

My database version (7048) is ahead of what my code expects (7047)

$
0
0

I have the problem of a database version ahead of my code, which is weirdly backward. Usually, you have a database version lagging behind your code, that needs to be upgraded, but I have this:

   The database schema for 'CMS' has not been updated to version '7047.0',
current database version is '7048.0'. Update the database manually by
running the cmdlet 'Update-EPiDatabase' in the package manager console
or set updateDatabaseSchema="true" on episerver.framework configuration
element.

I restored a database from my client and cloned their repo. This is what I get. They don't have any problems. No idea why I have an issue, but this is strange.

  • updateDatabaseSchema is already set to 'true," but remember that we're not "updating," as much as we need to go back one version.

  • I ran "Update-EPiDatabase" from the Package Manager Console. It ran through a whole bunch of SQL files very, very quickly. I checked them out -- I doubt any of them did anything, because they all check the database version, and the most recent one (10.9.0) abandons if the database is greater than 7047, which it is.

So...what do I do now?  How do you "downgrade" a database?


Viewing all articles
Browse latest Browse all 9076

Trending Articles