IO-314 Hasura new deploy instructions

This commit is contained in:
Patrick Fic
2021-04-19 11:30:59 -07:00
parent 845b7cfd05
commit e2eeea2bf8

View File

@@ -0,0 +1,22 @@
Postman Method:
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"],
"clean_output": true
}
```
Save output.
Manually export hasura metadata on production.
Go to new instance.
Run SQL
```
CREATE EXTENSION pg_trgm
```
Run SQL from PG Dump
Import hasura metadata.