Shift production to live reports env.

This commit is contained in:
Patrick Fic
2021-05-11 14:33:02 -07:00
parent 588c47b57a
commit 85c577b979
2 changed files with 10 additions and 8 deletions

View File

@@ -1,7 +1,8 @@
Postman Method:
POST https://db.imex.online/v1alpha1/pg_dump
Set x-hasura-admin-secret header.
Body is RAW JSON:
POST https://db.imex.online/v1alpha1/pg_dump
Set x-hasura-admin-secret header.
Body is RAW JSON:
```
{
"opts": ["-O", "-x", "--schema-only", "--schema", "public"],
@@ -9,14 +10,15 @@ Body is RAW JSON:
}
```
Save output.
Manually export hasura metadata on production.
Save output.
Manually export hasura metadata on production.
Go to new instance.
Go to new instance.
Run SQL
```
CREATE EXTENSION pg_trgm
```
Run SQL from PG Dump
Import hasura metadata.
Import hasura metadata.