Added a reference to the GPL
[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 SEQUENCE "log_logid_seq";
25
26 DROP TABLE "log";
27
28 DROP TABLE "log_adv";
29
30 DROP TABLE "log_notification";
31
32 DROP SEQUENCE "notification_notificationid_seq";
33
34 DROP TABLE "notification";
35
36 DROP SEQUENCE "object_objectid_seq";
37
38 DROP TABLE "object";
39
40 DROP TABLE "object_issue";
41
42 DROP TABLE "object_priority";
43
44 DROP TABLE "object_service";
45
46 DROP TABLE "object_system_user";
47
48 DROP TABLE "object_user";
49
50 DROP TABLE "priority";
51
52 DROP TABLE "service";
53
54 DROP TABLE "status";
55
56 DROP SEQUENCE "type_of_issue_type_of_issue_seq";
57
58 DROP TABLE "type_of_issue";
59
60 DROP SEQUENCE "unprocessed_l_unprocessedid_seq";
61
62 DROP TABLE "unprocessed_log";
63
64 DROP TABLE "user_gnucomo";
65