X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fextensions%2Fext-wernis.php;h=3bc9f01bf27e1f7a413d7eb8c78a08a57254a414;hp=3d8855fdf2b466f0df7c287c9ef6fb62a2b07626;hb=2e68ea39a430a7217e58747b877acaa3e92ea997;hpb=81048fd007675d6201fbae06577d3a13f83d943e diff --git a/inc/extensions/ext-wernis.php b/inc/extensions/ext-wernis.php index 3d8855fdf2..3bc9f01bf2 100644 --- a/inc/extensions/ext-wernis.php +++ b/inc/extensions/ext-wernis.php @@ -38,13 +38,13 @@ if (!defined('__SECURITY')) { } // Version of this extension -$EXT_VERSION = "0.0.3"; +$EXT_VERSION = "0.0.4"; // Auto-set extension version if (empty($EXT_VER)) $EXT_VER = $EXT_VERSION; // Version history array (add more with , "0.1" and so on) -$EXT_VER_HISTORY = array("0.0", "0.0.1", "0.0.2", "0.0.3"); +$EXT_VER_HISTORY = array("0.0", "0.0.1", "0.0.2", "0.0.3", "0.0.4"); switch ($EXT_LOAD_MODE) { @@ -136,6 +136,13 @@ case "update": // Update an extension // Update notes (these will be set as task text!) $UPDATE_NOTES = "Spaltentyp von VARCHAR(6) auf BIGINT(5) geändert."; break; + + case "0.0.4": // SQL queries for v0.0.4 + $SQLs[] = "ALTER TABLE `"._MYSQL_PREFIX."_config` ADD `wernis_refid` INT(5) UNSIGNED ZEROFILL NOT NULL DEFAULT '00000'"; + + // Update notes (these will be set as task text!) + $UPDATE_NOTES = "Fehlende Ref-Id hinzugetan."; + break; } break;