From 5321d32c8d670fbfbfe02f7df5066170aa20ee2e Mon Sep 17 00:00:00 2001 From: shennetsind Date: Fri, 14 Jun 2013 08:50:45 -0300 Subject: Updating .sql item db files Also Introducing the official DB2SQL plugin to quickly update the .sql db files. http://hercules.ws/board/topic/1105-hercules-wpe-free-june-14th-patch Signed-off-by: shennetsind --- sql-files/item_db2.sql | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) (limited to 'sql-files/item_db2.sql') diff --git a/sql-files/item_db2.sql b/sql-files/item_db2.sql index 9c4d2db47..00707f287 100644 --- a/sql-files/item_db2.sql +++ b/sql-files/item_db2.sql @@ -4,25 +4,25 @@ DROP TABLE IF EXISTS `item_db2`; CREATE TABLE `item_db2` ( - `id` smallint(5) unsigned NOT NULL default '0', - `name_english` varchar(50) NOT NULL default '', - `name_japanese` varchar(50) NOT NULL default '', - `type` tinyint(2) unsigned NOT NULL default '0', - `price_buy` mediumint(10) unsigned default NULL, - `price_sell` mediumint(10) unsigned default NULL, - `weight` smallint(5) unsigned NOT NULL default '0', - `attack` smallint(3) unsigned default NULL, - `defence` tinyint(3) unsigned default NULL, - `range` tinyint(2) unsigned default NULL, - `slots` tinyint(2) unsigned default NULL, - `equip_jobs` int(12) unsigned default NULL, - `equip_upper` tinyint(8) unsigned default NULL, - `equip_genders` tinyint(2) unsigned default NULL, - `equip_locations` smallint(4) unsigned default NULL, - `weapon_level` tinyint(2) unsigned default NULL, - `equip_level` tinyint(3) unsigned default NULL, - `refineable` tinyint(1) unsigned default NULL, - `view` smallint(3) unsigned default NULL, + `id` smallint(5) unsigned NOT NULL DEFAULT '0', + `name_english` varchar(50) NOT NULL DEFAULT '', + `name_japanese` varchar(50) NOT NULL DEFAULT '', + `type` tinyint(2) unsigned NOT NULL DEFAULT '0', + `price_buy` mediumint(10) unsigned NOT NULL DEFAULT '0', + `price_sell` mediumint(10) unsigned NOT NULL DEFAULT '0', + `weight` smallint(5) unsigned NOT NULL DEFAULT '0', + `atk` smallint(3) unsigned NOT NULL DEFAULT '0', + `defence` smallint(5) NOT NULL DEFAULT '0', + `range` tinyint(2) unsigned NOT NULL DEFAULT '0', + `slots` tinyint(2) unsigned NOT NULL DEFAULT '0', + `equip_jobs` int(12) unsigned NOT NULL DEFAULT '0', + `equip_upper` tinyint(8) unsigned NOT NULL DEFAULT '0', + `equip_genders` tinyint(2) unsigned NOT NULL DEFAULT '0', + `equip_locations` smallint(4) unsigned NOT NULL DEFAULT '0', + `weapon_level` tinyint(2) unsigned NOT NULL DEFAULT '0', + `equip_level` tinyint(3) unsigned NOT NULL DEFAULT '0', + `refineable` tinyint(1) unsigned NOT NULL DEFAULT '0', + `view` smallint(3) unsigned NOT NULL DEFAULT '0', `script` text, `equip_script` text, `unequip_script` text, -- cgit v1.2.3-60-g2f50