c0c0n3 / odoo.box

All of Martel's Odoo stack on just one NixOS machine.
MIT License
3 stars 0 forks source link

PgAdmin DB bootstrap junk #14

Open c0c0n3 opened 4 months ago

c0c0n3 commented 4 months ago

Even if our PgAdmin feature is disabled, the roles and DBs script will still run. This script creates a PgAdmin role and empty DB, a function to retrieve connection params in the newly created PgAdmin DB and also grants the PgAdmin role read/write access to the Odoo DB. Ideally, none of the above should happen if PgAdmin is disabled, which is not a big deal, but we should improve the implementation at some point to make the PgAdmin module self-contained.