mirror of
https://github.com/Mezeporta/Erupe.git
synced 2025-12-15 16:34:51 +01:00
Merge pull request #19 from Tsugami/feat/delete-go-folder
feat: delete generate files and move migration folder to root
This commit is contained in:
8
migration/README.md
Normal file
8
migration/README.md
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
To bring up fresh database:
|
||||||
|
migrate.exe -database postgres://user:password@host:port/dbname?sslmode=disable -path /pathto/migrations up
|
||||||
|
To tear down database
|
||||||
|
migrate.exe -database postgres://user:password@host:port/dbname?sslmode=disable -path /pathto/migrations down
|
||||||
|
|
||||||
|
|
||||||
|
More info:
|
||||||
|
https://github.com/golang-migrate/migrate/releases/tag/v4.15.2
|
||||||
BIN
migration/migrate.exe
Normal file
BIN
migration/migrate.exe
Normal file
Binary file not shown.
Reference in New Issue
Block a user