Thanks to visit codestin.com
Credit goes to github.com

Skip to content

More information in DatabaseUpgradeResult.... #257

@natiki

Description

@natiki

Hi,

In my particular case we run a number of PerformUpgrade() calls against a few databases when our application starts up.

While we can work out from the scripts collection what succeeded and what didn't it would be great if we could supply some form of logical name to the UpgradeEngineBuilder and then get that back in the result. So something like:

UpgradeEngineBuilder upgradeBuilder =
                DeployChanges.To
                             .SqlDatabase(_ConnectionString)
                             .MigrationLogicalName("MyLogicalName");
if (upgradeEngine.PerformUpgrade().MigrationLogicalName == "MyLogicalName")
{

}

Metadata

Metadata

Assignees

No one assigned

    Labels

    dbup-coreIssue or pull request regarding dbup-core projectenhancementNew feature or request

    Type

    No type

    Projects

    Status

    Wishlist

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions