-
Notifications
You must be signed in to change notification settings - Fork 0
Database Schema Management
Oliver Gorwits edited this page Dec 31, 2024
·
1 revision
-
The database schema credentials are available from the Heroku account (postgresql add-on settings panel)
-
When db creds change, update:
- Heroku web dyno environment settings
- GitHub organisation Actions secrets
-
Dump the database content using command
pg_dump -Fp -xO -n public -h xxx -U xxx -d xxx -f netdisco2-demo-cumulus-clean.db.sql
- Probably want to first log in (with
psql URL
) and empty thesnmp_objects
andadmin
tables - Comment out the
SET
lines at the top of the dump file, except for the UTF8 encoding command
- Probably want to first log in (with