diff --git a/_reference/New Hasura Deployment.md b/_reference/New Hasura Deployment.md new file mode 100644 index 000000000..0594f3d6a --- /dev/null +++ b/_reference/New Hasura Deployment.md @@ -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. \ No newline at end of file