I just upgraded Episerver.Find to version 13. I received following error and ran the migration by using updateDatabaseSchema="true" to successfully load the site. But now everytime i deploy code without making any change to the version of assembly, website is throwing following error again and I am forced to use command "updateDatabaseSchema="true" to get rid of the issue.
The database schema for 'EPiServer.Find.Cms' has not been updated to version '13.0.4', current database version is '12.4.2'. Update the database manually by running the cmdlet 'Update-EPiDatabase' in the package manager console or set updateDatabaseSchema="true" on episerver.framework configuration element.
Do you deploy the DB at the same time? Sounds like its an old DB version so its natural the schema needs to be updated if so. Can you simply leave updateDatabaseSchema="true" on episerver.framework in the deployed config?
No, we dont deploy DB. We only deploy code.
The issue seems to be was with 13.0.4. I upgraded the code to 13.0.5. That resolved the issue.