-
Notifications
You must be signed in to change notification settings - Fork 64
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
Issue115 #142
base: master
Are you sure you want to change the base?
Issue115 #142
Conversation
Kudos, SonarCloud Quality Gate passed! 0 Bugs |
…n parameter as drop database command cannot be used inside a transaction
@@ -2,7 +2,7 @@ | |||
"profiles": { | |||
"Yuniql.CLI": { | |||
"commandName": "Project", | |||
"commandLineArgs": "platforms", | |||
"commandLineArgs": "drop --force", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think its better we keep the old values. Its dangeours to default this to drop :)
}); | ||
} | ||
|
||
public virtual void RunNonVersionDropScripts(IDbConnection connection, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do you create a new RunNonVersionDropScripts? Is RunNonVersionScripts sufficient for this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @TaurahSP , finally had time to review your changes. Thanks again for this feature. Few comments.
- Why do you create a new RunNonVersionDropScripts? Is RunNonVersionScripts sufficient for this?
Added new method RunNonVersionDropScripts which do not has the transaction parameter as drop database command cannot be used inside a transaction . https://docs.microsoft.com/en-us/previous-versions/sql/sql-server-2008-r2/ms191544(v=sql.105)?redirectedfrom=MSDN