added command to generate migration bundle to makefile
This commit is contained in:
parent
bb8b3c4b74
commit
ae8b0266e5
2
.gitignore
vendored
2
.gitignore
vendored
@ -4,6 +4,8 @@
|
|||||||
## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore
|
## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore
|
||||||
|
|
||||||
seed.secrects.json
|
seed.secrects.json
|
||||||
|
efbundle
|
||||||
|
efbundle.exe
|
||||||
out/
|
out/
|
||||||
|
|
||||||
#Docker Compose Secrets
|
#Docker Compose Secrets
|
||||||
|
3
makefile
3
makefile
@ -29,3 +29,6 @@ migrate-dev-down: ## revert sql migrations to dev db
|
|||||||
|
|
||||||
migrate-refresh: ## Rolls back all migrations
|
migrate-refresh: ## Rolls back all migrations
|
||||||
goose -dir "./Newsbot.Collector.Database/Migrations" postgres "host=localhost user=postgres password=postgres dbname=postgres sslmode=disable" reset
|
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
|
Loading…
Reference in New Issue
Block a user