IO-314 Hasura new deploy instructions
This commit is contained in:
22
_reference/New Hasura Deployment.md
Normal file
22
_reference/New Hasura Deployment.md
Normal 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.
|
||||
Reference in New Issue
Block a user