1 --*************************************************************************
2 -- (c) Copyright 2002, Andromeda Technology & Automation
3 -- This is free software; you can redistribute it and/or modify it under the
4 -- terms of the GNU General Public License, see the file COPYING.
5 --*************************************************************************/
7 -- Gnucomo database destruction script.
10 -- This SQL script drops all tables and sequences from the database
11 -- It is primarily used for testing, where we clean up after performing
16 DROP SEQUENCE "action_actionid_seq";
20 DROP SEQUENCE "action_user_actionstepid_seq";
22 DROP TABLE "action_user";
24 DROP TABLE "db_value";
28 DROP SEQUENCE "log_logid_seq";
32 DROP SEQUENCE "log_advid_seq";
34 DROP TABLE log_adv_kernel_network;
35 DROP TABLE log_adv_daemon_email;
36 DROP TABLE log_adv_daemon;
39 DROP TABLE "log_notification";
41 DROP SEQUENCE "notification_notificationid_seq";
43 DROP TABLE "notification";
45 DROP SEQUENCE checkid_seq;
47 DROP TABLE notification_check;
49 DROP TABLE notification_check_buffer;
51 DROP SEQUENCE checklineid_seq;
53 DROP TABLE notification_check_line;
55 DROP SEQUENCE "object_objectid_seq";
59 DROP TABLE "object_issue";
61 DROP TABLE "object_priority";
63 DROP TABLE "object_service";
65 DROP TABLE object_statistics;
67 DROP TABLE "object_system_user";
69 DROP TABLE "object_user";
71 DROP SEQUENCE "paramid_seq";
73 DROP TABLE "parameter";
75 DROP TABLE "parameter_class";
77 DROP TABLE "parameter_notification";
79 DROP TABLE "priority";
81 DROP TABLE "property";
86 DROP TABLE supported_os;
88 DROP SEQUENCE "type_of_issue_type_of_issue_seq";
90 DROP TABLE "type_of_issue";
92 DROP SEQUENCE "unprocessed_l_unprocessedid_seq";
94 DROP TABLE "unprocessed_log";
96 DROP TABLE "user_gnucomo";