aboutsummaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorMachiavelli <none@none>2009-01-01 18:25:56 +0100
committerMachiavelli <none@none>2009-01-01 18:25:56 +0100
commit68015c4e94eff0ae5fd0c165e09d88a97fd9cefd (patch)
tree6bfb30554eb2d826fced0ab7b4a19615ca1e5d0e /sql
parentae0ce19a7fc964b62eea136c806cd29ab182f0fa (diff)
* Fix Crash issue caused by closing a ticket.
* Fix potential crash issue caused by improper datatype, SQL included to alter column (Thanks Paradox) --HG-- branch : trunk
Diffstat (limited to 'sql')
-rw-r--r--sql/updates/741_characters.sql4
-rw-r--r--sql/updates/741_world.sql10
2 files changed, 14 insertions, 0 deletions
diff --git a/sql/updates/741_characters.sql b/sql/updates/741_characters.sql
new file mode 100644
index 00000000000..aeba6f8c9ac
--- /dev/null
+++ b/sql/updates/741_characters.sql
@@ -0,0 +1,4 @@
+ALTER TABLE `gm_tickets` CHANGE `closed` `closed` tinyint(1) NOT NULL default '0';
+ALTER TABLE `gm_tickets` ADD `closed` bit(1) NOT NULL AFTER `timestamp`;
+ALTER TABLE `gm_tickets` ADD `assignedto` int(10) NOT NULL default '0' AFTER `timestamp`;
+
diff --git a/sql/updates/741_world.sql b/sql/updates/741_world.sql
new file mode 100644
index 00000000000..a93d4e2bd01
--- /dev/null
+++ b/sql/updates/741_world.sql
@@ -0,0 +1,10 @@
+REPLACE INTO `command` (`name`,`security`,`help`) VALUES ('ticket list','1','Displays a list of open GM tickets.');
+REPLACE INTO `command` (`name`,`security`,`help`) VALUES ('ticket onlinelist','1','Displays a list of open GM tickets whose owner is online.');
+REPLACE INTO `command` (`name`,`security`,`help`) VALUES ('ticket viewname','1','Usage: .ticket viewname $creatorname. \r\nReturns details about specified ticket. Ticket must be open and not deleted.');
+REPLACE INTO `command` (`name`,`security`,`help`) VALUES ('ticket viewid','1','Usage: .ticket viewid $ticketid.\r\nReturns details about specified ticket. Ticket must be open and not deleted.');
+REPLACE INTO `command` (`name`,`security`,`help`) VALUES ('ticket close','2','Usage: .ticket close $ticketid.\r\nCloses the specified ticket. Does not delete permanently.');
+REPLACE INTO `command` (`name`,`security`,`help`) VALUES ('ticket delete','3','Usage: .ticket delete $ticketid.\r\nDeletes the specified ticket permanently. Ticket must be closed first.');
+REPLACE INTO `command` (`name`,`security`,`help`) VALUES ('ticket assign','3','Usage: .ticket assign $ticketid $gmname.\r\nAssigns the specified ticket to the specified Game Master.');
+REPLACE INTO `command` (`name`,`security`,`help`) VALUES ('ticket unassign','3','Usage: .ticket unassign $ticketid.\r\nUnassigns the specified ticket from the current assigned Game Master.');
+REPLACE INTO `command` (`name`,`security`,`help`) VALUES ('ticket comment','2','Usage: .ticket comment $ticketid $comment.\r\nAllows the adding or modifying of a comment to the specified ticket.');
+REPLACE INTO `command` (`name`,`security`,`help`) VALUES ('reload tickets','4','Usage: .reload tickets.\r\nReloads GM Tickets from the database and re-caches them into memory.');