Skip to content

leisiamedeiros/Migration.App

Repository files navigation

Migration.App

The main objective of this application is for you to be able to run your database migrations automatically using the endpoint api/migrations/execute and see wich migrations was applied using the api/migrations endpoint.

image

Start using

Clone this project, and create your migration classes inside the Migration.App.Infrastructure project.

You can use the MCreator.Tool to create the migration class files. You can see the source code for this project here Migration.App.Creator

dotnet tool install --global MCreator.Tool --version 1.0.0

The FluentMigrator classes needs to be inside \Migration.App.Infrastructure\Migrations\Deploys folder, we have an example in this folder that runs against a scritp that is inside \Migration.App.Infrastructure\Migrations\Scripts\ folder.

Bellow a preview of the main functionalities;

previw

Enjoy!

About

API migration to execute your databases migrations using FluentMigrator

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published