-
Notifications
You must be signed in to change notification settings - Fork 2
Pass Database Name as parameter to all scripts #2
Copy link
Copy link
Open
Labels
Description
In order to develop certain upgrade scripts, you have to know the database name. For instance, when you want to script out a Sql Server Job, you need to know the name of the database inside the script.
I think we should make the database upgrader pass a parameter called something like "@DatabaseName" to each script. Then, in the command line tool, allow the developer to specify the name of the database, which will be passed to all the scripts, on the command line.
Even better, allow any number of parameters to be passed in to each script so you can pass all kinds of different configuration parameters to each script.
Reactions are currently unavailable