diff options
Diffstat (limited to '')
-rw-r--r-- | utility/truncate_script.sql | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/utility/truncate_script.sql b/utility/truncate_script.sql index 47776a2..bf0138b 100644 --- a/utility/truncate_script.sql +++ b/utility/truncate_script.sql @@ -1,6 +1,11 @@ -TRUNCATE TABLE users_user RESTART IDENTITY CASCADE; TRUNCATE TABLE organisations_organisation RESTART IDENTITY CASCADE; +TRUNCATE TABLE organisations_person RESTART IDENTITY CASCADE; +TRUNCATE TABLE organisations_person_role 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; +TRUNCATE TABLE register_engagementevent_participants RESTART IDENTITY CASCADE; +TRUNCATE TABLE register_engagementtype RESTART IDENTITY CASCADE; +TRUNCATE TABLE register_engagementevent RESTART IDENTITY CASCADE; +DELETE FROM users_user WHERE username != 'mrlemon'; |