summaryrefslogtreecommitdiff
path: root/hercules/templates/acc_reg_num_db.sql
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-04-10 00:45:07 -0300
committerJesusaves <cpntb1@ymail.com>2021-04-10 00:45:07 -0300
commitc6095ad062eaa0f5576cfab1c4fe436b90c2fbfe (patch)
tree742dd839971d2aab1f08fd0291af66e6439646ab /hercules/templates/acc_reg_num_db.sql
downloadmessworld-tools-c6095ad062eaa0f5576cfab1c4fe436b90c2fbfe.tar.gz
messworld-tools-c6095ad062eaa0f5576cfab1c4fe436b90c2fbfe.tar.bz2
messworld-tools-c6095ad062eaa0f5576cfab1c4fe436b90c2fbfe.tar.xz
messworld-tools-c6095ad062eaa0f5576cfab1c4fe436b90c2fbfe.zip
Add initial tools
Diffstat (limited to 'hercules/templates/acc_reg_num_db.sql')
-rw-r--r--hercules/templates/acc_reg_num_db.sql11
1 files changed, 11 insertions, 0 deletions
diff --git a/hercules/templates/acc_reg_num_db.sql b/hercules/templates/acc_reg_num_db.sql
new file mode 100644
index 0000000..da8b061
--- /dev/null
+++ b/hercules/templates/acc_reg_num_db.sql
@@ -0,0 +1,11 @@
+DROP TABLE IF EXISTS `acc_reg_num_db`;
+
+CREATE TABLE IF NOT EXISTS `acc_reg_num_db` (
+ `account_id` INT(11) UNSIGNED NOT NULL DEFAULT '0',
+ `key` VARCHAR(32) BINARY NOT NULL DEFAULT '',
+ `index` INT(11) UNSIGNED NOT NULL DEFAULT '0',
+ `value` INT(11) NOT NULL DEFAULT '0',
+ PRIMARY KEY (`account_id`,`key`,`index`),
+ KEY `account_id` (`account_id`)
+) ENGINE=InnoDB;
+