File tree Expand file tree Collapse file tree 1 file changed +25
-1
lines changed Expand file tree Collapse file tree 1 file changed +25
-1
lines changed Original file line number Diff line number Diff line change 1
1
---
2
- title : " Uninstall"
2
+ title : " Uninstall/Reset "
3
3
sidebar_position : 1000
4
4
---
5
5
@@ -9,3 +9,27 @@ statement:
9
9
``` sql
10
10
DROP SCHEMA graphile_worker CASCADE;
11
11
```
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
+ :::
You can’t perform that action at this time.
0 commit comments