From 9ca5208b593524196c845219987adcb7b8ada2a0 Mon Sep 17 00:00:00 2001 From: CairoLee Date: Thu, 20 Feb 2014 10:19:02 +0800 Subject: [PATCH] - Remove "DEFAULT CHARSET=latin1" from sql-files(Maybe has somebody Using utf8 like me) --- sql-files/main.sql | 12 ++++++------ sql-files/upgrades/upgrade_20140114.sql | 4 ++-- sql-files/upgrades/upgrade_20140205.sql | 4 ++-- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/sql-files/main.sql b/sql-files/main.sql index 3a5e79e513..a78cc18192 100644 --- a/sql-files/main.sql +++ b/sql-files/main.sql @@ -10,7 +10,7 @@ CREATE TABLE IF NOT EXISTS `skillcooldown` ( `tick` int(11) NOT NULL, KEY `account_id` (`account_id`), KEY `char_id` (`char_id`) -) ENGINE=MyISAM DEFAULT CHARSET=latin1; +) ENGINE=MyISAM; -- -- Table structure for table `auction` @@ -711,7 +711,7 @@ CREATE TABLE IF NOT EXISTS `bonus_script` ( `flag` varchar(3) NOT NULL DEFAULT '0', `type` char(1) NOT NULL DEFAULT '0', `icon` varchar(3) NOT NULL DEFAULT '-1' -) ENGINE=InnoDB DEFAULT CHARSET=latin1; +) ENGINE=InnoDB; CREATE TABLE IF NOT EXISTS `vending_items` ( `vending_id` int(10) unsigned NOT NULL, @@ -719,7 +719,7 @@ CREATE TABLE IF NOT EXISTS `vending_items` ( `cartinventory_id` int(10) unsigned NOT NULL, `amount` smallint(5) unsigned NOT NULL, `price` int(10) unsigned NOT NULL -) ENGINE=MyISAM DEFAULT CHARSET=latin1; +) ENGINE=MyISAM; CREATE TABLE IF NOT EXISTS `vendings` ( `id` int(10) unsigned NOT NULL, @@ -732,7 +732,7 @@ CREATE TABLE IF NOT EXISTS `vendings` ( `title` varchar(80) NOT NULL, `autotrade` tinyint(4) NOT NULL, PRIMARY KEY (`id`) -) ENGINE=MyISAM DEFAULT CHARSET=latin1; +) ENGINE=MyISAM; CREATE TABLE IF NOT EXISTS `buyingstore_items` ( `buyingstore_id` int(10) unsigned NOT NULL, @@ -740,7 +740,7 @@ CREATE TABLE IF NOT EXISTS `buyingstore_items` ( `item_id` int(10) unsigned NOT NULL, `amount` smallint(5) unsigned NOT NULL, `price` int(10) unsigned NOT NULL -) ENGINE=MyISAM DEFAULT CHARSET=latin1; +) ENGINE=MyISAM; CREATE TABLE IF NOT EXISTS `buyingstores` ( `id` int(10) unsigned NOT NULL, @@ -754,4 +754,4 @@ CREATE TABLE IF NOT EXISTS `buyingstores` ( `limit` int(10) unsigned NOT NULL, `autotrade` tinyint(4) NOT NULL, PRIMARY KEY (`id`) -) ENGINE=MyISAM DEFAULT CHARSET=latin1; +) ENGINE=MyISAM; diff --git a/sql-files/upgrades/upgrade_20140114.sql b/sql-files/upgrades/upgrade_20140114.sql index 594be5e4f9..627c9a0fb7 100644 --- a/sql-files/upgrades/upgrade_20140114.sql +++ b/sql-files/upgrades/upgrade_20140114.sql @@ -4,7 +4,7 @@ CREATE TABLE IF NOT EXISTS `vending_items` ( `cartinventory_id` int(10) unsigned NOT NULL, `amount` smallint(5) unsigned NOT NULL, `price` int(10) unsigned NOT NULL -) ENGINE=MyISAM DEFAULT CHARSET=latin1; +) ENGINE=MyISAM; CREATE TABLE IF NOT EXISTS `vendings` ( `id` int(10) unsigned NOT NULL, @@ -17,4 +17,4 @@ CREATE TABLE IF NOT EXISTS `vendings` ( `title` varchar(80) NOT NULL, `autotrade` tinyint(4) NOT NULL, PRIMARY KEY (`id`) -) ENGINE=MyISAM DEFAULT CHARSET=latin1; \ No newline at end of file +) ENGINE=MyISAM; \ No newline at end of file diff --git a/sql-files/upgrades/upgrade_20140205.sql b/sql-files/upgrades/upgrade_20140205.sql index cd4aa4b78d..901b7c546b 100644 --- a/sql-files/upgrades/upgrade_20140205.sql +++ b/sql-files/upgrades/upgrade_20140205.sql @@ -4,7 +4,7 @@ CREATE TABLE IF NOT EXISTS `buyingstore_items` ( `item_id` int(10) unsigned NOT NULL, `amount` smallint(5) unsigned NOT NULL, `price` int(10) unsigned NOT NULL -) ENGINE=MyISAM DEFAULT CHARSET=latin1; +) ENGINE=MyISAM; CREATE TABLE IF NOT EXISTS `buyingstores` ( `id` int(10) unsigned NOT NULL, @@ -18,4 +18,4 @@ CREATE TABLE IF NOT EXISTS `buyingstores` ( `limit` int(10) unsigned NOT NULL, `autotrade` tinyint(4) NOT NULL, PRIMARY KEY (`id`) -) ENGINE=MyISAM DEFAULT CHARSET=latin1; \ No newline at end of file +) ENGINE=MyISAM; \ No newline at end of file