New database tables: notification_check, notification_check_buffer,
[gnucomo.git] / src / database / destroy.sql
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 --*************************************************************************/
6 --
7 -- Gnucomo database destruction script.
8 --
9 --
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
12 -- a test.
13 --
14 --
15
16 DROP SEQUENCE "action_actionid_seq";
17
18 DROP TABLE "action";
19
20 DROP SEQUENCE "action_user_actionstepid_seq";
21
22 DROP TABLE "action_user";
23
24 DROP TABLE "db_value";
25
26 DROP TABLE "history";
27
28 DROP SEQUENCE "log_logid_seq";
29
30 DROP TABLE "log";
31
32 DROP SEQUENCE "log_advid_seq";
33
34 DROP TABLE log_adv_kernel_network;
35 DROP TABLE log_adv_daemon_email;
36 DROP TABLE log_adv_daemon;
37 DROP TABLE "log_adv";
38
39 DROP TABLE "log_notification";
40
41 DROP SEQUENCE "notification_notificationid_seq";
42
43 DROP TABLE "notification";
44
45 DROP SEQUENCE checkid_seq;
46     
47 DROP TABLE notification_check;
48
49 DROP TABLE notification_check_buffer;
50
51 DROP SEQUENCE checklineid_seq;
52      
53 DROP TABLE notification_check_line;
54
55 DROP SEQUENCE "object_objectid_seq";
56
57 DROP TABLE "object";
58
59 DROP TABLE "object_issue";
60
61 DROP TABLE "object_priority";
62
63 DROP TABLE "object_service";
64
65 DROP TABLE object_statistics;
66
67 DROP TABLE "object_system_user";
68
69 DROP TABLE "object_user";
70
71 DROP SEQUENCE "paramid_seq";
72
73 DROP TABLE "parameter";
74
75 DROP TABLE "parameter_class";
76
77 DROP TABLE "parameter_notification";
78
79 DROP TABLE "priority";
80
81 DROP TABLE "property";
82
83 DROP TABLE "service";
84
85 DROP TABLE "status";
86 DROP TABLE supported_os;
87
88 DROP SEQUENCE "type_of_issue_type_of_issue_seq";
89
90 DROP TABLE "type_of_issue";
91
92 DROP SEQUENCE "unprocessed_l_unprocessedid_seq";
93
94 DROP TABLE "unprocessed_log";
95
96 DROP TABLE "user_gnucomo";
97 DROP TABLE "usr";
98