Comments
Sort by recent activity
Since I have enterprise edition functionality in some of my migrations (e.g. Create index with online = on), I have to use a shadow db on my dev edition local SQL server instance. So I checked "always use default db for shadow" and set the default connection strong to point to "<projectName>_shadow" / comments
Since I have enterprise edition functionality in some of my migrations (e.g. Create index with online = on), I have to use a shadow db on my dev edition local SQL server instance. So I checked "alw...
Thank you, @way0utwest . To clarify, are you suggesting taking the "1.0.0-Baseline" script and deploying that initially. Then use the PS cmdlets (New-DatabaseReleaseArtifact) to generate the TargetedDeploymentScript.sql moving forward? Edit: I've been using a combination of unchecking "mark first folder as baseline" + adding <SkipBaselineCheck>True</SkipBaselineCheck> to get New-DatabaseReleaseArtifact to include the whole set of migrations to deploy correctly to a newly created DB. Otherwise, it errors. The original "target" db used during project creation to injury the baseline script had a number of initial schema objects. / comments
Thank you, @way0utwest . To clarify, are you suggesting taking the "1.0.0-Baseline" script and deploying that initially. Then use the PS cmdlets (New-DatabaseReleaseArtifact) to generate the Targ...
Thanks, @way0utwest. I like the way you're thinking and agree with the concept. However, I have a current, real project with a new DB that I've chosen, wisely or otherwise, to manage using SCA. So, now it's time to promote to the higher environments (above QA), and I'm scrambling to prepare for the handoff to the ops DBAs. I guess worst case is I just generate DDL and DML and hand that off, losing the benefits of tracking changes with the __MigrationLog, snapshots/drift/change reports, etc. / comments
Thanks, @way0utwest. I like the way you're thinking and agree with the concept. However, I have a current, real project with a new DB that I've chosen, wisely or otherwise, to manage using SCA. ...
Perfect. Thanks guys. The online docs were a little funky, so I went about it by: 1) Created a new empty dev DB on localhost 2) Created a new project, connected to the new DB for dev, but did not connect to a "target" DB (where I want to grab the <Prefix>_% tables from.) 3) Started a new SQL compare project and chose source as the "target DB", target as my empty new localhost dev DB. 4) Compared, then under actions, chose "filter setup pane" 5) created a custom filter: object_name like <Prefix>_ 6) Saved the filter.scpf into the root folder of my project 7) closed and reopened the solution 8) Continued with "setup the project" and imported the baseline script. BINGO! Looks good. I only have those objects in the project. [image] / comments
Perfect. Thanks guys. The online docs were a little funky, so I went about it by:1) Created a new empty dev DB on localhost2) Created a new project, connected to the new DB for dev, but did not c...
If we have "Always use default connection for shadow" set in the project settings, shouldn't it always use that server/DB even if we connect in VS to another target? Also, I do sometimes use the VS IDE and connection to deploy the project - esp when we don't have CI set up yet. / comments
If we have "Always use default connection for shadow" set in the project settings, shouldn't it always use that server/DB even if we connect in VS to another target?Also, I do sometimes use the VS ...
That's good info, although a little vague. How do I set the "schema version" on the build artifact so dlm dashboard picks it up? And which bamboo variable do I set? Edit: I'm using octopus deploy now, but the release_version and package_version columns are not getting populated. What do I med to do within octopus deploy to populate them? / comments
That's good info, although a little vague. How do I set the "schema version" on the build artifact so dlm dashboard picks it up? And which bamboo variable do I set?Edit: I'm using octopus deploy no...
<Deleted - mistaken post> / comments
<Deleted - mistaken post>
How do these columns relate to DLM Dashboards "schema version"? And, is there a way to link into the Bamboo "Release Version"? I realize that's not fully a RG question... / comments
How do these columns relate to DLM Dashboards "schema version"? And, is there a way to link into the Bamboo "Release Version"? I realize that's not fully a RG question...
Excellent - and I love that you used extended properties for the metadata. / comments
Excellent - and I love that you used extended properties for the metadata.