Comments
3 comments
-
Hello ode2joy,
Your baseline cannot be more recent than the db you want to migrate/upgrade.
You'll need to have a baseline based on the version of the db (or even older I guess) and then add migration scripts to upgrade it to the latest version.
Eric -
Hi ode2joy,
Can you create the schema in your build environment to workaround this?
Or, you may want to create a pre-deployment script that checks if the schema exists? If not, then add it. https://documentation.red-gate.com/sca/developing-databases/concepts/migrations/pre-deployment-and-post-deployment-scripts
Thanks! -
Hi Stephanie, many thanks for your reply. I realised subsequent to my original post that the problem is wider than just schemas - it seems that any new objects were not being added by SCA. We worked around it in the end but I think your suggestion of creating a pre-deployment script would probably have sorted the issue.
Add comment
Please sign in to leave a comment.
TIA