diff --git a/.gitignore b/.gitignore index 845d631..0394bff 100644 --- a/.gitignore +++ b/.gitignore @@ -4,6 +4,8 @@ ## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore seed.secrects.json +efbundle +efbundle.exe out/ #Docker Compose Secrets diff --git a/makefile b/makefile index faab6d1..2341cb6 100644 --- a/makefile +++ b/makefile @@ -29,3 +29,6 @@ migrate-dev-down: ## revert sql migrations to dev db migrate-refresh: ## Rolls back all migrations goose -dir "./Newsbot.Collector.Database/Migrations" postgres "host=localhost user=postgres password=postgres dbname=postgres sslmode=disable" reset + +ef-bundle: ## Create a migration bundle + dotnet ef migrations bundle --project Newsbot.Collector.Database \ No newline at end of file