X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=install%2Ftables.sql;h=9ceee334fcdd2bed080c5eb8541e957dcf181103;hb=35fd597b272983427fd88f541ea55642e0b42c9e;hp=7b1b3cb83a89e994d766c9b4dbbc3465410526fb;hpb=5ef42cb239e9225f160f5963a718f14bc70a1866;p=mailer.git diff --git a/install/tables.sql b/install/tables.sql index 7b1b3cb83a..9ceee334fc 100644 --- a/install/tables.sql +++ b/install/tables.sql @@ -30,41 +30,31 @@ CREATE TABLE `{?_MYSQL_PREFIX?}_cats` ( DROP TABLE IF EXISTS `{?_MYSQL_PREFIX?}_config`; CREATE TABLE `{?_MYSQL_PREFIX?}_config` ( - `config` tinyint(1) NOT NULL DEFAULT 0, - `pass_len` TINYINT(3) UNSIGNED NOT NULL DEFAULT 5, + `config` TINYINT(1) NOT NULL DEFAULT 0, + `min_password_length` 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, - `least_cats` TINYINT(3) UNSIGNED NOT NULL DEFAULT 5, - `check_double_email` ENUM('Y','N') NOT NULL DEFAULT 'Y', - `admin_notify` ENUM('Y','N') NOT NULL DEFAULT 'Y', `url_tlock` BIGINT(20) UNSIGNED NOT NULL DEFAULT 86400, - `max_tlength` BIGINT(20) UNSIGNED NOT NULL DEFAULT 1000, - `autosend_active` ENUM('Y','N') NOT NULL DEFAULT 'N', - `max_send` TINYINT(3) UNSIGNED NOT NULL DEFAULT 100, - `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, - `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, `mad_timestamp` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0, `mad_count` BIGINT(20) UNSIGNED NOT NULL, - `profile_update` BIGINT(20) UNSIGNED NOT NULL DEFAULT 15768000, - `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, - `order_multi_page` ENUM('Y','N') NOT NULL DEFAULT 'Y', - `display_refid` ENUM('Y','N') NOT NULL DEFAULT 'Y', - `ip_timeout` BIGINT(20) UNSIGNED NOT NULL DEFAULT 86400, `allow_direct_pay` ENUM('Y','N') NOT NULL DEFAULT 'N', PRIMARY KEY (`config`) ) ENGINE = {?_TABLE_TYPE?} CHARACTER SET utf8 COLLATE utf8_general_ci COMMENT 'Configuration'; +DROP TABLE IF EXISTS `{?_MYSQL_PREFIX?}_extensions`; +CREATE TABLE `{?_MYSQL_PREFIX?}_extensions` ( + `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 (`id`) +) ENGINE = {?_TABLE_TYPE?} CHARACTER SET utf8 COLLATE utf8_general_ci COMMENT 'Extension registry'; + DROP TABLE IF EXISTS `{?_MYSQL_PREFIX?}_guest_menu`; CREATE TABLE `{?_MYSQL_PREFIX?}_guest_menu` ( `id` BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT, @@ -177,7 +167,7 @@ CREATE TABLE `{?_MYSQL_PREFIX?}_task_system` ( `assigned_admin` BIGINT(20) UNSIGNED NULL DEFAULT NULL, `userid` BIGINT(20) UNSIGNED NULL DEFAULT NULL, `status` ENUM('NEW','OPEN','SOLVED','CLOSED','DELETED') NOT NULL DEFAULT 'NEW', - `task_type` VARCHAR(255) NOT NULL DEFAULT 'FIRST_USER', + `task_type` VARCHAR(255) NOT NULL DEFAULT 'UNKNOWN', `subject` VARCHAR(255) NOT NULL DEFAULT '', `text` LONGTEXT NOT NULL, `task_created` VARCHAR(10) NOT NULL DEFAULT 0, @@ -187,15 +177,6 @@ CREATE TABLE `{?_MYSQL_PREFIX?}_task_system` ( PRIMARY KEY (`id`) ) ENGINE = {?_TABLE_TYPE?} CHARACTER SET utf8 COLLATE utf8_general_ci COMMENT 'Task system'; -DROP TABLE IF EXISTS `{?_MYSQL_PREFIX?}_extensions`; -CREATE TABLE `{?_MYSQL_PREFIX?}_extensions` ( - `ext_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 (`id`) -) ENGINE = {?_TABLE_TYPE?} CHARACTER SET utf8 COLLATE utf8_general_ci COMMENT 'Extension registry'; - DROP TABLE IF EXISTS `{?_MYSQL_PREFIX?}_jackpot`; CREATE TABLE `{?_MYSQL_PREFIX?}_jackpot` ( `ok` CHAR(2) NOT NULL DEFAULT 'ok',