This repository explain how to use pgxgen tool
make install-toolsCreate .env file with your enviroments in root repository based on .env.example file
createdb pgxgenexamplemake migrate upmake start// replace MIGRATION_NAME.
// Example: make db-craete-miration book_rating
make db-craete-miration MIGRATION_NAME- Apply new migrations
- Edit pgxgen.yamlin root repository. Documentation available here
- Execute command make gensql
To override types use this documentation