This is a study project based on a course named 'Backend Master Class [Golang + PostgreSQL + Kubernetes]'
- go-migrations
- postgreSQL
- Install golang
- Install go-migrate
- download the image
docker pull postgres:12-alpine
- run the container
make postgres
- creating the database
make createdb
- migrating the database
make migrateup
- access the container
docker exec -it postgres12 psql -U root
- access logs
docker logs postgres12
- access the database
docker exec -it postgres12 psql -U root mybank
- drop the database
make dropdb