From 47fae87d899c486223c0a5dd58caf76efc56ffb4 Mon Sep 17 00:00:00 2001
From: MrKeiKun <the.keikun@gmail.com>
Date: Sat, 26 Apr 2014 15:36:30 +0800
Subject: Follow-up to 93584f7, Fixed issue with Character Creation, column
 doesn't contain default value.

Signed-off-by: MrKeiKun <the.keikun@gmail.com>
---
 sql-files/main.sql | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

(limited to 'sql-files/main.sql')

diff --git a/sql-files/main.sql b/sql-files/main.sql
index b7cf01937..25045226a 100644
--- a/sql-files/main.sql
+++ b/sql-files/main.sql
@@ -111,7 +111,7 @@ CREATE TABLE IF NOT EXISTS `char` (
   `char_opt` INT( 11 ) unsigned NOT NULL default '0',
   `font` TINYINT( 3 ) UNSIGNED NOT NULL DEFAULT  '0',
   `unban_time` int(11) unsigned NOT NULL default '0',
-  `uniqueitem_counter` bigint(20) NOT NULL,
+  `uniqueitem_counter` bigint(20) unsigned NOT NULL default '0',
   PRIMARY KEY  (`char_id`),
   UNIQUE KEY `name_key` (`name`),
   KEY `account_id` (`account_id`),
@@ -667,6 +667,7 @@ INSERT INTO `sql_updates` (`timestamp`) VALUES (1389028967); -- 2014-01-06--17-2
 INSERT INTO `sql_updates` (`timestamp`) VALUES (1392832626); -- 2014-02-19--17-57.sql
 INSERT INTO `sql_updates` (`timestamp`) VALUES (1395789302); -- 2014-03-25--23-57.sql
 INSERT INTO `sql_updates` (`timestamp`) VALUES (1396893866); -- 2014-04-07--22-04.sql
+INSERT INTO `sql_updates` (`timestamp`) VALUES (1398477600); -- 2014-04-26--10-00.sql
 
 --
 -- Table structure for table `sstatus`
-- 
cgit v1.2.3-60-g2f50

