set foreign_key_checks=0;
drop table if exists accesscontrol_principals;
drop table if exists accesscontrol_privilege_entries;
drop table if exists accesscontrol_privileges;
drop table if exists accesscontrol_resource_privileges;
drop table if exists accesscontrol_resources;
drop table if exists accesscontrol_right_entries;
drop table if exists accesscontrol_rights;
drop table if exists auth_methods;
drop table if exists client_context_settings;
drop table if exists client_context_trees;
drop table if exists client_context_users;
drop table if exists client_contexts;
drop table if exists comet_event_contents;
drop table if exists comet_events;
drop table if exists content_types;
drop table if exists copy_nodes;
drop table if exists cronjobs;
drop table if exists groups;
drop table if exists hashed_passwords;
drop table if exists hook_bindings;
drop table if exists node_sync_attributes;
drop table if exists node_sync_types;
drop table if exists node_syncs;
drop table if exists nodes;
drop table if exists plugin_parameters;
drop table if exists plugins;
drop table if exists task_aliases;
drop table if exists taskqueue_entries;
drop table if exists taskqueue_entry_arguments;
drop table if exists taskqueue_entry_tags;
drop table if exists tasks;
drop table if exists tree_types;
drop table if exists trees;
drop table if exists user_auth_methods;
drop table if exists user_session_impersonatedvalues;
drop table if exists user_session_values;
drop table if exists user_sessions;
drop table if exists users;
set foreign_key_checks=1;
