Categorygithub.com/ga676005/blog-aggregator
repositorypackage
0.0.0-20241012143238-b61a550660c7
Repository: https://github.com/ga676005/blog-aggregator.git
Documentation: pkg.go.dev

# README

run postgresql server in the background

sudo service postgresql start

connect to psql

sudo -u postgres psql -d blogator

protocol://username:password@host:port/database

postgres://postgres:postgres@localhost:5432/blogator

goose migration

// up
goose -dir=./sql/schema postgres "postgres://username:password@localhost:5432/your_database" up

// down
goose -dir=./sql/schema postgres "postgres://username:password@localhost:5432/your_database" down