(Simple Bank Backend System)
- To check ports in use on linux:
$ sudo lsof -i -P -n | grep LISTEN
- To create db migrations:
migrate create -ext sql -dir db/migration -seq init_schema
- To migrate db:
migrate -path db/migration -database "postgresql://root:secret@localhost:5435/simple_bank?sslmode=disable" -verbose up