From: Roland Häder Date: Thu, 28 Jul 2011 21:17:05 +0000 (+0000) Subject: Dependency birthday->user added X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=86a68f02e916b20757ea4728de113a9cbcc50efe;p=mailer.git Dependency birthday->user added --- diff --git a/inc/extensions/ext-birthday.php b/inc/extensions/ext-birthday.php index e2f2af4a72..d6db65aced 100644 --- a/inc/extensions/ext-birthday.php +++ b/inc/extensions/ext-birthday.php @@ -177,10 +177,12 @@ INDEX (`userid`)", break; case '0.3.9': // SQL queries for v0.3.9 - addExtensionSql('ALTER TABLE `{?_MYSQL_PREFIX?}_user_data` -CHANGE `birth_day` `birth_day` SMALLINT(2) UNSIGNED ZEROFILL NOT NULL DEFAULT 01, -CHANGE `birth_month` `birth_month` SMALLINT(2) UNSIGNED ZEROFILL NOT NULL DEFAULT 01, -CHANGE `birth_year` `birth_year` SMALLINT(4) UNSIGNED ZEROFILL NOT NULL DEFAULT 1970'); + addExtensionSql('ALTER TABLE `{?_MYSQL_PREFIX?}_user_data` CHANGE `birth_day` `birth_day` SMALLINT(2) UNSIGNED ZEROFILL NOT NULL DEFAULT 01'); + addExtensionSql('ALTER TABLE `{?_MYSQL_PREFIX?}_user_data` CHANGE `birth_month` `birth_month` SMALLINT(2) UNSIGNED ZEROFILL NOT NULL DEFAULT 01'); + addExtensionSql('ALTER TABLE `{?_MYSQL_PREFIX?}_user_data` CHANGE `birth_year` `birth_year` SMALLINT(4) UNSIGNED ZEROFILL NOT NULL DEFAULT 1970'); + + // This update depends on ext-user + addExtensionDependency('user'); // Update notes (these will be set as task text!) setExtensionUpdateNotes("Datenbankspalten umgestellt auf SMALLINT() UNSIGNED ZEROFILL.");