Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possibility to override DatabaseName from 'Test' in generated script #157

Open
Calumfletcher opened this issue Aug 25, 2020 · 0 comments
Open

Comments

@Calumfletcher
Copy link

Hi,

Loving the dac-pac schema compare tool. I wondered if it would be possible to allow the override of the DatabaseName sqlcmd variable that gets put into the top of the generated script, from the default 'Test'.

The use case for me, is that I am actually using the generated script to run as I trust it a lot more (being able to see exactly what is being ran in the script) rather than through a dac-pac publish.

However, when doing so the DatabaseName is always hard-coded to 'Test' in the script, so it would be nice to be able to amend this within the DevOps pipeline to whatever I want it to be.

I'm going to attempt to use a 'Replace Text in Files' action on the script, but it would be really nice if this could be part of the DevOps schema-compare plugin itself.

Thanks

@Calumfletcher Calumfletcher changed the title Possibility to override DatabaseName from 'Test' Possibility to override DatabaseName from 'Test' in generated script Aug 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant