aboutsummaryrefslogtreecommitdiffstats
path: root/utility/truncate_script.sql
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--utility/truncate_script.sql6
1 files changed, 6 insertions, 0 deletions
diff --git a/utility/truncate_script.sql b/utility/truncate_script.sql
new file mode 100644
index 0000000..47776a2
--- /dev/null
+++ b/utility/truncate_script.sql
@@ -0,0 +1,6 @@
+TRUNCATE TABLE users_user RESTART IDENTITY CASCADE;
+TRUNCATE TABLE organisations_organisation RESTART IDENTITY CASCADE;
+TRUNCATE TABLE organisations_mode RESTART IDENTITY CASCADE;
+TRUNCATE TABLE organisations_role RESTART IDENTITY CASCADE;
+TRUNCATE TABLE organisations_address RESTART IDENTITY CASCADE;
+TRUNCATE TABLE organisations_addresstype RESTART IDENTITY CASCADE;