# README
sqlboiler
Contains the SQL schema definition and associated boilerplate compiled for Go.
Setup DB
- Run
docker compose up
- Run
psql -d postgres -U user1 -a -f .\sql\schema.sql
- Enter password: pass1
Setup SQLBoiler
- Run
go install github.com/volatiletech/sqlboiler/v4@latest
. - Run
go install github.com/volatiletech/sqlboiler/v4/drivers/sqlboiler-psql@latest
. - Check
.\sqlboiler.toml
matches with your database. See here for help.
Update Schema
- Edit
.\sql\schema.sql
- Setup DB
- Setup SQLBoiler
- Delete
.\repository
- Run
sqlboiler psql
# Packages
No description provided by the author