added command to generate migration bundle to makefile

This commit is contained in:
James Tombleson 2023-06-19 15:38:55 -07:00
parent bb8b3c4b74
commit ae8b0266e5
2 changed files with 5 additions and 0 deletions

2
.gitignore vendored
View File

@ -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

View File

@ -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