]> git.mxchange.org Git - mailer.git/blobdiff - install/tables.sql
Theoretical working merge of mailid.php and mailid_top.php into mailid.php + a couple...
[mailer.git] / install / tables.sql
index 6bb6c27f2b0653531dd5244d9dfbd11051c0dba6..66c8c9c0b2b400eaf69ad03dd84f4c9d60cabde9 100644 (file)
@@ -30,7 +30,7 @@ CREATE TABLE `{?_MYSQL_PREFIX?}_cats` (
 
 DROP TABLE IF EXISTS `{?_MYSQL_PREFIX?}_config`;
 CREATE TABLE `{?_MYSQL_PREFIX?}_config` (
-  `config` tinyint(1) NOT NULL DEFAULT 0,
+  `config` TINYINT(1) NOT NULL DEFAULT 0,
   `pass_len` TINYINT(3) UNSIGNED NOT NULL DEFAULT 5,
   `points_register` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
   `points_ref` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
@@ -44,7 +44,7 @@ CREATE TABLE `{?_MYSQL_PREFIX?}_config` (
   `url_blacklist` ENUM('Y','N') NOT NULL DEFAULT 'Y',
   `auto_purge` TINYINT(3) UNSIGNED NOT NULL DEFAULT 14,
   `auto_purge_active` ENUM('Y','N') NOT NULL DEFAULT 'Y',
-  `last_update` VARCHAR(10) NOT NULL DEFAULT 0,
+  `last_update` VARCHAR(10) NOT NULL DEFAULT '0',
   `unconfirmed` BIGINT(20) UNSIGNED NOT NULL DEFAULT 100,
   `profile_lock` BIGINT(20) UNSIGNED NOT NULL DEFAULT 86400,
   `online_timeout` BIGINT(20) UNSIGNED NOT NULL DEFAULT 1800,
@@ -54,7 +54,7 @@ CREATE TABLE `{?_MYSQL_PREFIX?}_config` (
   `send_prof_update` ENUM('Y','N') NOT NULL DEFAULT 'Y',
   `resend_profile_update` BIGINT(20) UNSIGNED NOT NULL DEFAULT 172800,
   `patch_level` VARCHAR(100) NOT NULL DEFAULT '0',
-  `patch_ctime` VARCHAR(10) NOT NULL DEFAULT 0,
+  `patch_ctime` VARCHAR(10) NOT NULL DEFAULT '0',
   `guest_stats` ENUM('MEMBERS','MODULES','INACTIVE') NOT NULL DEFAULT 'MEMBERS',
   `ref_payout` TINYINT(3) UNSIGNED NOT NULL DEFAULT 5,
   `activate_xchange` BIGINT(20) UNSIGNED NOT NULL DEFAULT 100,
@@ -67,11 +67,11 @@ CREATE TABLE `{?_MYSQL_PREFIX?}_config` (
 
 DROP TABLE IF EXISTS `{?_MYSQL_PREFIX?}_extensions`;
 CREATE TABLE `{?_MYSQL_PREFIX?}_extensions` (
-  `ext_id` BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT,
+  `id` BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT,
   `ext_name` VARCHAR(255) NOT NULL DEFAULT '',
   `ext_active` ENUM('Y','N') NOT NULL DEFAULT 'N',
   `ext_version` VARCHAR(255) NOT NULL DEFAULT 'INVALID',
-  PRIMARY KEY  (`ext_id`)
+  PRIMARY KEY  (`id`)
 ) ENGINE = {?_TABLE_TYPE?} CHARACTER SET utf8 COLLATE utf8_general_ci COMMENT 'Extension registry';
 
 DROP TABLE IF EXISTS `{?_MYSQL_PREFIX?}_guest_menu`;