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

Issue115 #142

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Issue115 #142

wants to merge 3 commits into from

Conversation

TaurahSP
Copy link

@TaurahSP TaurahSP commented Sep 26, 2020

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

@sonarcloud
Copy link

sonarcloud bot commented Sep 26, 2020

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities (and Security Hotspot 0 Security Hotspots to review)
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@@ -2,7 +2,7 @@
"profiles": {
"Yuniql.CLI": {
"commandName": "Project",
"commandLineArgs": "platforms",
"commandLineArgs": "drop --force",
Copy link
Owner

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,
Copy link
Owner

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?

Copy link
Owner

@rdagumampan rdagumampan left a 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?

@rdagumampan rdagumampan added this to the v1.1-01.27.2021 milestone Dec 20, 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

Successfully merging this pull request may close these issues.

3 participants