* Addd variable for production migration transaction level
* Added variable for production migration transaction level with default value
* Clean up comments
* Removed uneeded directive
* Changed time format for timeout on migration
* white space formatting
* white space formatting again
* white space formatting once again
* white space formatting once again
* clean up
* CHnaged to builder.WithoutTransaction()
* Changed to optyion flag from n to nt for notransaction
* Changed to optyion flag from n to no-transaction for without transaction
* Change desription of option
---------
Co-authored-by: Matt Bishop <mbishop@bitwarden.com>
(cherry picked from commit b38b537ed1)
* Centralize database migration logic
* Clean up unused usings
* Prizatize
* Remove verbose flag from Docker invocation
* Allow certain database operations to be skipped
* Readonly
* Add migrator cli
* Ran format
* Acc build workflow
* Change paths in push and pr triggers
* Add build migrator cli to build workflow
* Remove build migrator cli workflow
* Add different levels of logs for verbose
* Rename migratorCLI to MsSqlMigratorUtility
* Add MsSqlMigratorUtility to solution file
* Remove the clean command
* Fix name and path in build workflow
* Add retry logic to DbMigrator instead of invocation
* Add migrator with retry mechanism as a new method
* Log the migration start log to migrate database method
* Fix name in build
* Fix cli leftovers
* Fix exception var name
* String interpolation
* Remove redundant check for number
* Remove CommandDotNet
* dotnet format
* Remove CommandDotNet from packages lock
* Remove all cli
* Trying to remove usings to see if this fixes linter
* Add usings back again - uild is failing
* Remove implicit usings
* Trying to fix linter issues
* Trying to fix linter
* Remove hard coded database name
* Update permissions on build scripts
* Update Setup project and run scripts for configuring database name
* Remove hyphen from database name flag
* Update with suggested changes, still needs testing
* Revert SQL statements to concatenantion for testing
* Fix typo
* Update util/Setup/EnvironmentFileBuilder.cs
Co-authored-by: Chad Scharf <3904944+cscharf@users.noreply.github.com>
* Update SQL commands to prevent SQL injection attacks
Co-authored-by: Chad Scharf <3904944+cscharf@users.noreply.github.com>