feat: delete generate files and move migration folder to root

This commit is contained in:
Yslan Ramos
2022-05-04 19:25:34 -03:00
parent ef061ac25d
commit 2165e8cd86
2 changed files with 8 additions and 0 deletions

8
migration/README.md Normal file
View 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

Binary file not shown.