X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=install%2Ftables.sql;h=a0e57cd005c2f61641d789d529fd23d7c82a1849;hb=598ecc2011b09b2c8ae4ee32ed5c31dde3939c94;hp=bbe4e75f4d279fe489d975a6325358e54f3377f6;hpb=798cdd57a6c0e5879e3ad5d9a76900ed27e1d9e0;p=mailer.git diff --git a/install/tables.sql b/install/tables.sql index bbe4e75f4d..a0e57cd005 100644 --- a/install/tables.sql +++ b/install/tables.sql @@ -5,7 +5,7 @@ CREATE TABLE `mxchange_admin_menu` ( `what` VARCHAR(255) NULL DEFAULT NULL, `title` VARCHAR(50) NOT NULL DEFAULT '', `sort` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0, - `descr` blob NOT NULL, + `descr` BLOB NOT NULL, PRIMARY KEY (`id`) ) TYPE=MyISAM; @@ -121,7 +121,7 @@ CREATE TABLE `mxchange_pool` ( `payment_id` TINYINT(3) UNSIGNED NOT NULL DEFAULT 0, `data_type` ENUM('TEMP','SEND','NEW','ADMIN') NOT NULL DEFAULT 'TEMP', `timestamp` VARCHAR(10) NOT NULL DEFAULT 0, - `url` tinytext NOT NULL, + `url` TINYTEXT NOT NULL, `target_send` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0, `cat_id` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0, PRIMARY KEY (`id`) @@ -194,7 +194,7 @@ CREATE TABLE `mxchange_user_data` ( `ref_clicks` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0, `total_logins` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0, `gender` ENUM('M','F') NOT NULL DEFAULT 'M', - `used_points` DOUBLE(22,3) NOT NULL DEFAULT '0.000', + `used_points` FLOAT(22,3) NOT NULL DEFAULT '0.000', `emails_sent` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0, PRIMARY KEY (`userid`) ) TYPE=MyISAM; @@ -204,7 +204,7 @@ CREATE TABLE `mxchange_user_points` ( `id` BIGINT(22) NOT NULL AUTO_INCREMENT, `userid` BIGINT(22) NOT NULL DEFAULT 0, `ref_depth` TINYINT(3) UNSIGNED NOT NULL DEFAULT 0, - `points` DOUBLE(22,3) NOT NULL DEFAULT '0.000', + `points` FLOAT(22,3) NOT NULL DEFAULT '0.000', PRIMARY KEY (`id`) ) TYPE=MyISAM; @@ -213,8 +213,8 @@ ALTER TABLE `mxchange_config` ADD `url_blacklist` ENUM('Y','N') NOT NULL DEFAULT ALTER TABLE `mxchange_config` ADD `auto_purge` TINYINT(3) UNSIGNED NOT NULL DEFAULT '14'; ALTER TABLE `mxchange_config` ADD `auto_purge_active` ENUM('Y','N') NOT NULL DEFAULT 'Y'; -ALTER TABLE `mxchange_pool` MODIFY `url` tinytext NOT NULL; -ALTER TABLE `mxchange_pool` CHANGE `url` `url` tinyblob NOT NULL; +ALTER TABLE `mxchange_pool` MODIFY `url` TINYTEXT NOT NULL; +ALTER TABLE `mxchange_pool` CHANGE `url` `url` TINYBLOB NOT NULL; ALTER TABLE `mxchange_pool` MODIFY `data_type` ENUM('TEMP','SEND','NEW','ADMIN','ACTIVE') NOT NULL DEFAULT 'TEMP'; DROP TABLE IF EXISTS `mxchange_user_links`; @@ -233,7 +233,7 @@ CREATE TABLE `mxchange_user_stats` ( `cat_id` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0, `payment_id` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0, `subject` VARCHAR(200) NOT NULL DEFAULT '', - `url` tinyblob NOT NULL, + `url` TINYBLOB NOT NULL, `max_rec` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0, `timestamp_ordered` VARCHAR(10) NOT NULL DEFAULT '', `pool_id` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0, @@ -253,7 +253,7 @@ ALTER TABLE `mxchange_user_data` ADD `last_update` VARCHAR(10) NOT NULL DEFAULT ALTER TABLE `mxchange_refbanner` ADD `clicks` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0; ALTER TABLE `mxchange_config` ADD `online_timeout` BIGINT(20) UNSIGNED NOT NULL DEFAULT '1800'; -ALTER TABLE `mxchange_config` ADD `mad_timestamp` VARCHAR(10) NOT NULL DEFAULT 0; +ALTER TABLE `mxchange_config` ADD `mad_timestamp` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0; ALTER TABLE `mxchange_config` ADD `mad_count` BIGINT(20) UNSIGNED NOT NULL; ALTER TABLE `mxchange_config` ADD `profile_update` BIGINT(20) UNSIGNED NOT NULL DEFAULT '15768000'; ALTER TABLE `mxchange_config` ADD `send_prof_update` ENUM('Y','N') NOT NULL DEFAULT 'Y'; @@ -318,7 +318,7 @@ CREATE TABLE `mxchange_extensions` ( DROP TABLE IF EXISTS `mxchange_jackpot`; CREATE TABLE `mxchange_jackpot` ( `ok` CHAR(2) NOT NULL DEFAULT 'ok', - `points` DOUBLE(23,3) NOT NULL DEFAULT '0.000', + `points` FLOAT(20,3) NOT NULL DEFAULT '0.000', PRIMARY KEY (`ok`) ) TYPE=MyISAM;