Skip to content

Commit 3e6b870

Browse files
authored
Add "reset" to title of uninstall page and expand content (#503)
2 parents 0ec5c7e + eff895f commit 3e6b870

File tree

1 file changed

+25
-1
lines changed

1 file changed

+25
-1
lines changed

website/docs/uninstall.md

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: "Uninstall"
2+
title: "Uninstall/Reset"
33
sidebar_position: 1000
44
---
55

@@ -9,3 +9,27 @@ statement:
99
```sql
1010
DROP SCHEMA graphile_worker CASCADE;
1111
```
12+
13+
(If you are using an alternative schema for Graphile Worker, please update the
14+
command accordingly.)
15+
16+
:::danger This may also drop some of your database functions/constraints!
17+
18+
Any functionality in your database that depends on Graphile Worker (according to
19+
PostgreSQL's tracking of dependencies - see
20+
[pg_depend](https://www.postgresql.org/docs/current/catalog-pg-depend.html) in
21+
the PostgreSQL docs) may also be dropped by the `CASCADE`; this includes
22+
database functions (including trigger functions), and foreign key constraints.
23+
24+
It's recommended to try this on a non-production environment first to see its
25+
effects, and to do a schema-only dump of your database before and after to
26+
compare the changes and look for unexpected consequences.
27+
28+
:::
29+
30+
:::warning Scale to zero first!
31+
32+
Before running this command, you should make sure there are no running Graphile
33+
Worker instances.
34+
35+
:::

0 commit comments

Comments
 (0)