]> git.mxchange.org Git - mailer.git/blobdiff - install/tables.sql
Again more fixes from bugtracker, thanks to profi-concept
[mailer.git] / install / tables.sql
index bbe4e75f4d279fe489d975a6325358e54f3377f6..6f82a40855e3ff447e02ce328dc095b36b614450 100644 (file)
@@ -5,7 +5,7 @@ CREATE TABLE `mxchange_admin_menu` (
   `what` VARCHAR(255) NULL DEFAULT NULL,\r
   `title` VARCHAR(50) NOT NULL DEFAULT '',\r
   `sort` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,\r
-  `descr` blob NOT NULL,\r
+  `descr` BLOB NOT NULL,\r
   PRIMARY KEY  (`id`)\r
 ) TYPE=MyISAM;\r
 \r
@@ -121,7 +121,7 @@ CREATE TABLE `mxchange_pool` (
   `payment_id` TINYINT(3) UNSIGNED NOT NULL DEFAULT 0,\r
   `data_type` ENUM('TEMP','SEND','NEW','ADMIN') NOT NULL DEFAULT 'TEMP',\r
   `timestamp` VARCHAR(10) NOT NULL DEFAULT 0,\r
-  `url` tinytext NOT NULL,\r
+  `url` TINYTEXT NOT NULL,\r
   `target_send` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,\r
   `cat_id` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,\r
   PRIMARY KEY  (`id`)\r
@@ -194,7 +194,7 @@ CREATE TABLE `mxchange_user_data` (
   `ref_clicks` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,\r
   `total_logins` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,\r
   `gender` ENUM('M','F') NOT NULL DEFAULT 'M',\r
-  `used_points` DOUBLE(22,3) NOT NULL DEFAULT '0.000',\r
+  `used_points` FLOAT(22,3) NOT NULL DEFAULT '0.000',\r
   `emails_sent` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,\r
   PRIMARY KEY  (`userid`)\r
 ) TYPE=MyISAM;\r
@@ -204,7 +204,7 @@ CREATE TABLE `mxchange_user_points` (
   `id` BIGINT(22) NOT NULL AUTO_INCREMENT,\r
   `userid` BIGINT(22) NOT NULL DEFAULT 0,\r
   `ref_depth` TINYINT(3) UNSIGNED NOT NULL DEFAULT 0,\r
-  `points` DOUBLE(22,3) NOT NULL DEFAULT '0.000',\r
+  `points` FLOAT(22,3) NOT NULL DEFAULT '0.000',\r
   PRIMARY KEY  (`id`)\r
 ) TYPE=MyISAM;\r
 \r
@@ -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';\r
 ALTER TABLE `mxchange_config` ADD `auto_purge_active` ENUM('Y','N') NOT NULL DEFAULT 'Y';\r
 \r
-ALTER TABLE `mxchange_pool` MODIFY `url` tinytext NOT NULL;\r
-ALTER TABLE `mxchange_pool` CHANGE `url` `url` tinyblob NOT NULL;\r
+ALTER TABLE `mxchange_pool` MODIFY `url` TINYTEXT NOT NULL;\r
+ALTER TABLE `mxchange_pool` CHANGE `url` `url` TINYBLOB NOT NULL;\r
 ALTER TABLE `mxchange_pool` MODIFY `data_type` ENUM('TEMP','SEND','NEW','ADMIN','ACTIVE') NOT NULL DEFAULT 'TEMP';\r
 \r
 DROP TABLE IF EXISTS `mxchange_user_links`;\r
@@ -233,7 +233,7 @@ CREATE TABLE `mxchange_user_stats` (
   `cat_id` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,\r
   `payment_id` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,\r
   `subject` VARCHAR(200) NOT NULL DEFAULT '',\r
-  `url` tinyblob NOT NULL,\r
+  `url` TINYBLOB NOT NULL,\r
   `max_rec` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,\r
   `timestamp_ordered` VARCHAR(10) NOT NULL DEFAULT '',\r
   `pool_id` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,\r
@@ -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;\r
 ALTER TABLE `mxchange_config` ADD `online_timeout` BIGINT(20) UNSIGNED NOT NULL DEFAULT '1800';\r
 \r
-ALTER TABLE `mxchange_config` ADD `mad_timestamp` VARCHAR(10) NOT NULL DEFAULT 0;\r
+ALTER TABLE `mxchange_config` ADD `mad_timestamp` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0;\r
 ALTER TABLE `mxchange_config` ADD `mad_count` BIGINT(20) UNSIGNED NOT NULL;\r
 ALTER TABLE `mxchange_config` ADD `profile_update` BIGINT(20) UNSIGNED NOT NULL DEFAULT '15768000';\r
 ALTER TABLE `mxchange_config` ADD `send_prof_update` ENUM('Y','N') NOT NULL DEFAULT 'Y';\r
@@ -309,7 +309,6 @@ DROP TABLE IF EXISTS `mxchange_extensions`;
 CREATE TABLE `mxchange_extensions` (\r
   `id` BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT,\r
   `ext_name` VARCHAR(255) NOT NULL DEFAULT '',\r
-  `ext_lang_file` VARCHAR(255) NOT NULL DEFAULT '',\r
   `ext_active` ENUM('Y','N') NOT NULL DEFAULT 'N',\r
   `ext_version` VARCHAR(255) NOT NULL DEFAULT 'INVALID',\r
   PRIMARY KEY  (`id`)\r
@@ -318,7 +317,7 @@ CREATE TABLE `mxchange_extensions` (
 DROP TABLE IF EXISTS `mxchange_jackpot`;\r
 CREATE TABLE `mxchange_jackpot` (\r
   `ok` CHAR(2) NOT NULL DEFAULT 'ok',\r
-  `points` DOUBLE(23,3) NOT NULL DEFAULT '0.000',\r
+  `points` FLOAT(20,3) NOT NULL DEFAULT '0.000',\r
   PRIMARY KEY  (`ok`)\r
 ) TYPE=MyISAM;\r
 \r