Comments
3 comments
-
Yes, it should create those objects when deploying, so it looks like your deployment is failing for some reason.
Does this happen even if you create a new project from scratch?
-
Yes it happens when I create a brand new project from scratch for existing databases.
I just realized those tables are created after I "deploy" it.
However, there's no record in table __SchemaSnapshot. Is that normal?
-
That's normal if it happens on the database you use for the build, if it's a release target it's also normal in the first deployment, this should have a record after the second deployment.
Add comment
Please sign in to leave a comment.
When creating a new SQL Change Automation project with source/target database, it's stuck at 90% for more than 12 hours. I have to terminate Visual Studio manually from task manager. When I go back to look at the project, it generated scripts/folder for baseline/programmable-objects/schema-model. However, it did not generate those two tables __MigrationLog and __SchemaSnapShot in target database.
It used to work few months ago when I did this for another database.
Has anyone encountered this issue?