graphql-engine icon indicating copy to clipboard operation
graphql-engine copied to clipboard

docs: guide on how to uninstall/purge hasura

Open jflambert opened this issue 5 years ago • 3 comments

Dear Hasura people, we're using your amazing hasura.cli-migrations docker container but as part of a pipeline, I would need to completely kill any hasura objects in my database in order to rebuild them. Having some dependency issues at the moment (specifically INSTEAD OF triggers that seem to get created when granting some partial INSERT permissions)

Is it as simple as dropping the hdb_views and hdb_catalog schemas?

I would suggest adding this information to your also-amazing documentation.

Thanks!

jflambert avatar Feb 21 '20 15:02 jflambert

@jflambert That is right. We should definitely add how to uninstall hasura in the docs.

cc: @marionschleifer

tirumaraiselvan avatar Feb 24 '20 05:02 tirumaraiselvan

@jflambert

The following should do the trick:

drop schema hdb_views cascade;
drop schema hdb_catalog cascade;

0x777 avatar Feb 24 '20 05:02 0x777

@marionschleifer & Maintainers, Hey, I have created a PR to solve this issue as a part of Hacktoberfest 2022 for which i forgot to get it assigned by the Maintainers...pardon me. Kindly review the same and recommend if any additions are required.

Also, requesting you to assign the "Hacktoberfest" label if possible. Thanks!

Smartmind12 avatar Oct 06 '22 02:10 Smartmind12