Create database "postgres"
create file .env then fill these to configure Makefile:
DB_PORT=5431 DB_NAME=postgres DB_HOST=127.0.0.1 DB_USERNAME=postgres DB_PASSWORD=postgres
curl -L https://github.com/golang-migrate/migrate/releases/download/$version/migrate.$platform-amd64.tar.gz | tar xvz
Create two files with up and down at the suffix of the created sql files.
make migrate
Execute migratedown command
make migratedown
Execute migrateup command
make migrateup