-- warning:  drops all tables in dnsdb!

DROP TABLE default_records;
DROP TABLE default_rev_records;
DROP TABLE log;
DROP TABLE misc;
DROP TABLE permissions;
DROP TABLE records;
DROP TABLE domains;
DROP TABLE rectypes;
DROP TABLE revzones;
DROP TABLE users;
DROP TABLE locations;
DROP TABLE groups;
DROP TABLE refresh_zones;
DROP TABLE secondary_zones;
-- wtf?
DROP TABLE rtest;

DROP SEQUENCE default_records_record_id_seq;
DROP SEQUENCE default_rev_records_record_id_seq;
DROP SEQUENCE log_log_id_seq;
DROP SEQUENCE misc_misc_id_seq;
DROP SEQUENCE permissions_permission_id_seq;
DROP SEQUENCE records_record_id_seq;
DROP SEQUENCE domains_domain_id_seq;
DROP SEQUENCE revzones_rdns_id_seq;
DROP SEQUENCE users_user_id_seq;
DROP SEQUENCE locations_loc_id_seq;
DROP SEQUENCE groups_group_id_seq;
DROP SEQUENCE secondaryzones_secondary_id_seq;
DROP FUNCTION inetlazy(rdata text);
