Skip to content

Issue115#142

Open
TaurahSP wants to merge 3 commits into
rdagumampan:masterfrom
TaurahSP:Issue115
Open

Issue115#142
TaurahSP wants to merge 3 commits into
rdagumampan:masterfrom
TaurahSP:Issue115

Conversation

@TaurahSP

@TaurahSP TaurahSP commented Sep 26, 2020

Copy link
Copy Markdown

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

@sonarqubecloud

Copy link
Copy Markdown

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

"Yuniql.CLI": {
"commandName": "Project",
"commandLineArgs": "platforms",
"commandLineArgs": "drop --force",

Copy link
Copy Markdown
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
Copy Markdown
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?

@rdagumampan rdagumampan left a comment

Copy link
Copy Markdown
Owner

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