diff --git a/migration/README.md b/migration/README.md new file mode 100644 index 000000000..4fe0bd8d9 --- /dev/null +++ b/migration/README.md @@ -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 \ No newline at end of file diff --git a/migration/migrate.exe b/migration/migrate.exe new file mode 100644 index 000000000..47514e575 Binary files /dev/null and b/migration/migrate.exe differ