summaryrefslogtreecommitdiff
path: root/sql-files/main.sql
diff options
context:
space:
mode:
authorsmokexyz <sagunkho@hotmail.com>2017-06-03 00:28:08 +0800
committerDastgir <dastgirp@gmail.com>2018-07-24 17:34:12 +0530
commitf5c5b54c808bd8ea8893c733e2e999b3f523e162 (patch)
tree7f734bc728ff83f52c73c87d318fb27df72f783f /sql-files/main.sql
parent504ad2ca7d6ef4923093f74ac2afd5fc1bd39fd1 (diff)
downloadhercules-f5c5b54c808bd8ea8893c733e2e999b3f523e162.tar.gz
hercules-f5c5b54c808bd8ea8893c733e2e999b3f523e162.tar.bz2
hercules-f5c5b54c808bd8ea8893c733e2e999b3f523e162.tar.xz
hercules-f5c5b54c808bd8ea8893c733e2e999b3f523e162.zip
Add SQL Upgrades for Achievements
Co-authored-by: "Dastgir" <dastgirp@gmail.com>
Diffstat (limited to 'sql-files/main.sql')
-rw-r--r--sql-files/main.sql23
1 files changed, 23 insertions, 0 deletions
diff --git a/sql-files/main.sql b/sql-files/main.sql
index 8f7e5355b..b80f81f5d 100644
--- a/sql-files/main.sql
+++ b/sql-files/main.sql
@@ -118,6 +118,28 @@ CREATE TABLE IF NOT EXISTS `autotrade_merchants` (
) ENGINE=MyISAM;
--
+-- Table structure for table `char_achievements`
+--
+
+CREATE TABLE `char_achievements` (
+ `char_id` INT(11) UNSIGNED NOT NULL,
+ `ach_id` INT(11) UNSIGNED NOT NULL,
+ `completed_at` INT(10) UNSIGNED NOT NULL DEFAULT '0',
+ `rewarded_at` INT(10) UNSIGNED NOT NULL DEFAULT '0',
+ `obj_0` INT(10) UNSIGNED NOT NULL DEFAULT '0',
+ `obj_1` INT(10) UNSIGNED NOT NULL DEFAULT '0',
+ `obj_2` INT(10) UNSIGNED NOT NULL DEFAULT '0',
+ `obj_3` INT(10) UNSIGNED NOT NULL DEFAULT '0',
+ `obj_4` INT(10) UNSIGNED NOT NULL DEFAULT '0',
+ `obj_5` INT(10) UNSIGNED NOT NULL DEFAULT '0',
+ `obj_6` INT(10) UNSIGNED NOT NULL DEFAULT '0',
+ `obj_7` INT(10) UNSIGNED NOT NULL DEFAULT '0',
+ `obj_8` INT(10) UNSIGNED NOT NULL DEFAULT '0',
+ `obj_9` INT(10) UNSIGNED NOT NULL DEFAULT '0',
+ PRIMARY KEY (`char_id`, `ach_id`)
+) ENGINE=MyISAM;
+
+--
-- Table structure for table `cart_inventory`
--
@@ -894,6 +916,7 @@ INSERT IGNORE INTO `sql_updates` (`timestamp`) VALUES (1496588700); -- 2017-06-0
INSERT IGNORE INTO `sql_updates` (`timestamp`) VALUES (1509835214); -- 2017-11-04--10-39.sql
INSERT IGNORE INTO `sql_updates` (`timestamp`) VALUES (1519671456); -- 2018-02-26--15-57.sql
INSERT IGNORE INTO `sql_updates` (`timestamp`) VALUES (1520654809); -- 2018-03-10--04-06.sql
+INSERT IGNORE INTO `sql_updates` (`timestamp`) VALUES (1527964800); -- 2018-06-03--00-10.sql
INSERT IGNORE INTO `sql_updates` (`timestamp`) VALUES (1528180320); -- 2018-06-05--12-02.sql
--
-- Table structure for table `storage`