Productivity Tools

Tools written by an IT business manager, a passionate developer.

PSDbUp

Module invokes DBUp from given directory.

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

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.