johanclasson / vso-agent-tasks

Build and Release Tasks for Visual Studio Online and Team Foundation Server
MIT License
20 stars 16 forks source link

Does this replace the need for the DbUp Console app? #58

Closed jbradysmith closed 5 years ago

jbradysmith commented 5 years ago

Hi, I have created a DbUp console up in my DB project and want to use this task to deploy it. It seems though that this actually replaces my console app, or at least replaces my need to build, deploy, and then execute the console app. Is this correct?

johanclasson commented 5 years ago

As you have noticed, the DbUp Migration task replaces the need to roll your own project.

At least regarding running migrations against your test and production environments. But if you need something to run scripts locally you still need to do something creative.

FarshanAhamed commented 3 years ago

@johanclasson Is there any functionality similar to EnsureDatabase?

johanclasson commented 3 years ago

@FarshanAhamed: Yes. It is on per default. Se this line of code.

I remembered it wrong. This is not on per default, nor can it be triggered. I created #72 to adress this.