Skip to content
No description, website, or topics provided.
PowerShell
Branch: develop
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
ProductivityTools.PSDbUp
.gitignore
PowershellGallery.url
ProductivityTools.PSDbUp.sln
ProductivityTools.url
README.md

README.md

GitHub PowershellGallery ProductivityTools

ProductivityTools.PSDbUp

Module invokes DBUp from given directory.

Go to the directory with the scripts and call Invoke-DbUpMigration

Invoke-DbUpMigration -SqlInstance '.\SQL2017' -DatabaseName 'xxx1' -SchemaName pawel

One not obvious param is SchemaName. Setting it will impact schema under which DBUp Log will be saved.

New-DbUpMigration

Module also exposes cmdlet which help in creating the new migration. When executed in the directory with previous scripts it checks last number assigned to migration and create new one with provided content.

You can’t perform that action at this time.