mirror of
https://github.com/Mezeporta/Erupe.git
synced 2025-12-12 23:14:36 +01:00
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