From 6f0b9fe9444653455f336554aa1edb262a1e91b6 Mon Sep 17 00:00:00 2001
From: Blaymoira <none@none>
Date: Wed, 31 Dec 2008 15:07:29 +0100
Subject: *Added rewrited ticket system - by Machiavelli

--HG--
branch : trunk
---
 sql/updates/725_characters.sql | 6 ++++++
 1 file changed, 6 insertions(+)
 create mode 100644 sql/updates/725_characters.sql

(limited to 'sql/updates/725_characters.sql')

diff --git a/sql/updates/725_characters.sql b/sql/updates/725_characters.sql
new file mode 100644
index 00000000000..c875bf9399c
--- /dev/null
+++ b/sql/updates/725_characters.sql
@@ -0,0 +1,6 @@
+ALTER TABLE `character_ticket` RENAME TO `gm_tickets`; 
+ALTER TABLE gm_tickets CHANGE `guid` `playerGuid` int(11) unsigned NOT NULL default '0'; 
+ALTER TABLE gm_tickets CHANGE `ticket_id` `guid` int(11) unsigned NOT NULL default '0'; 
+ALTER TABLE gm_tickets CHANGE `ticket_text` `message` text(0) NOT NULL;
+ALTER TABLE gm_tickets CHANGE `ticket_lastchange` `timestamp` int(10) NOT NULL default '0';
+ALTER TABLE gm_tickets ADD( `closed` bit(1) NOT NULL, `assignedto` int(10) NOT NULL default '0', `comment` text(0) NOT NULL default '');
\ No newline at end of file
-- 
cgit v1.2.3

