How can we help you today? How can we help you today?
RickC

Activity overview

Latest activity by RickC

This morning, I updated VS2019 to v16.4.5 and immediately afterwards, I updated SCA to v4.2.20064.1605. Now, my SCA database projects won't build or deploy. The error messages is as follows. c:\path\to\semver\folder\001_MyMigrationScript.sql(7,49): Error:  : A constraint name must be specified (before the constraint definition eg. CONSTRAINT [MyConstraintName] DEFAULT (0)). This is needed in order to ensure that database builds are deterministic. This error message is in an old migration script that has already been deployed to production. It is complaining because there is a PRIMARY KEY clause on an identity column rather than a separate CONSTRAINT [PK_TableName] PRIMARY KEY (ID) clause with an explicit name. Editing the migration script will not change the database since the script will not be deployed again. Besides, changing an historic migration script goes completely against the purpose of a migration-script based approach anyway, doesn't it? @Diogo , you reponded to @ilundhild saying "...using constraints with system named (sic) for constraints is a bad practice..." OK. We get that. However, SCA should not -- and, indeed, cannot -- suddenly declare that things that happened in the past must be fixed before moving forward. This breaks the DevOps flow. I am working on a hotfix that I need to get out the door quickly and I can't even build my database project? Yikes! How do we get a fix for this immediately, if not sooner? / comments
This morning, I updated VS2019 to v16.4.5 and immediately afterwards, I updated SCA to v4.2.20064.1605.Now, my SCA database projects won't build or deploy. The error messages is as follows.c:\path\...
0 votes