Working with our PostgreSQL database
warning
WIP
Accessing Crunchy Bridge
- Go to Crunchy Bridge: https://crunchybridge.com/
- Log in with your brimstone.com email address (through Microsoft or directly)
- Go to the Brimstone team in the top left selector
- Select the DB of interest
developmentandproductionare the dev and prod DBs respectivelyignition-dbis used for Matt's SCADA server in Oakland- The other ones are deprecated and should not be used
Getting PostgreSQL connection details
- Follow the general instructions and pick a DB.
- Go to the "Connection" page in the sidebar on the left
- Pick a role
user: this is a read-only role that has access to all tablesapplication: this is a read-write role that has access to all tables (or nearly all). This is the role used by our services, including Dagster, Stoneware, etc...postgres: this is a superuser (= admin) role. Only use it for very high-level administrative tasks. Do not use it to create tables or schemas, asapplicationwon't be able to use them without additional grants.
- Note: you may not have access to all roles, depending on your rights. If you need to use a role not available to you, reach out to Erwin.
- Pick your desired format and export the credentials
Relatively soon, we will introduce more fine-grained data controls, at which point those instructions will be updated.