Mailer project rwritten:
[mailer.git] / install / tables.sql
index 006783b45d59ac1cfd822a19810bf264cd8adc46..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,