summaryrefslogtreecommitdiff
path: root/sql-files/upgrade_svn_questlog.sql
diff options
context:
space:
mode:
authorInkfish <Inkfish@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-07-25 21:02:17 +0000
committerInkfish <Inkfish@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-07-25 21:02:17 +0000
commit9a4741d3d470218debd83850ca597fc565cd01bd (patch)
tree8e9e6d67dbd85c76e945d52e90ab6359e6588292 /sql-files/upgrade_svn_questlog.sql
parent34b37179c0895f0b0acc4377bf2bfe5edfcff9ce (diff)
downloadhercules-9a4741d3d470218debd83850ca597fc565cd01bd.tar.gz
hercules-9a4741d3d470218debd83850ca597fc565cd01bd.tar.bz2
hercules-9a4741d3d470218debd83850ca597fc565cd01bd.tar.xz
hercules-9a4741d3d470218debd83850ca597fc565cd01bd.zip
adding the sql update I forgot...
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13960 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'sql-files/upgrade_svn_questlog.sql')
-rw-r--r--sql-files/upgrade_svn_questlog.sql40
1 files changed, 40 insertions, 0 deletions
diff --git a/sql-files/upgrade_svn_questlog.sql b/sql-files/upgrade_svn_questlog.sql
new file mode 100644
index 000000000..2e1985988
--- /dev/null
+++ b/sql-files/upgrade_svn_questlog.sql
@@ -0,0 +1,40 @@
+--
+-- Table structure for table `questlog`
+--
+
+CREATE TABLE IF NOT EXISTS `questlog` (
+ `char_id` int(11) unsigned NOT NULL default '0',
+ `quest_id` int(10) unsigned NOT NULL,
+ `state` enum('2','1','0') NOT NULL default '0',
+ `time` int(11) unsigned NOT NULL default '0',
+ `mob1` mediumint(9) unsigned NOT NULL default '0',
+ `count1` mediumint(8) unsigned NOT NULL default '0',
+ `mob2` mediumint(9) unsigned NOT NULL default '0',
+ `count2` mediumint(8) unsigned NOT NULL default '0',
+ `mob3` mediumint(9) unsigned NOT NULL default '0',
+ `count3` mediumint(8) unsigned NOT NULL default '0',
+ PRIMARY KEY USING BTREE (`char_id`,`quest_id`)
+) ENGINE=MyISAM;
+
+DROP TABLE `quest_objective`;
+DROP TABLE `quest`;
+--
+-- Table structure for table `questlog`
+--
+
+CREATE TABLE IF NOT EXISTS `questlog` (
+ `char_id` int(11) unsigned NOT NULL default '0',
+ `quest_id` int(10) unsigned NOT NULL,
+ `state` enum('2','1','0') NOT NULL default '0',
+ `time` int(11) unsigned NOT NULL default '0',
+ `mob1` mediumint(9) unsigned NOT NULL default '0',
+ `count1` mediumint(8) unsigned NOT NULL default '0',
+ `mob2` mediumint(9) unsigned NOT NULL default '0',
+ `count2` mediumint(8) unsigned NOT NULL default '0',
+ `mob3` mediumint(9) unsigned NOT NULL default '0',
+ `count3` mediumint(8) unsigned NOT NULL default '0',
+ PRIMARY KEY USING BTREE (`char_id`,`quest_id`)
+) ENGINE=MyISAM;
+
+DROP TABLE `quest_objective`;
+DROP TABLE `quest`; \ No newline at end of file