From 4443c4373e0cff96d1be0e8b8b4f2f868c7c0f27 Mon Sep 17 00:00:00 2001 From: Lester Caine Date: Mon, 18 May 2026 09:11:39 +0100 Subject: Update system rebased at v5.0.0 --- admin/upgrades/1.0.1.php | 26 -------------------------- admin/upgrades/1.0.2.php | 26 -------------------------- 2 files changed, 52 deletions(-) delete mode 100644 admin/upgrades/1.0.1.php delete mode 100644 admin/upgrades/1.0.2.php diff --git a/admin/upgrades/1.0.1.php b/admin/upgrades/1.0.1.php deleted file mode 100644 index cb0c1be..0000000 --- a/admin/upgrades/1.0.1.php +++ /dev/null @@ -1,26 +0,0 @@ - NEWSLETTERS_PKG_NAME, - 'version' => str_replace( '.php', '', basename( __FILE__ )), - 'description' => "Minor fix to ip columns to support IPv6", - 'post_upgrade' => NULL, -]; - -// Increase the size of the IP column to cope with IPv6 -$gBitInstaller->registerPackageUpgrade( $infoHash, [ - -[ 'QUERY' => - [ - 'PGSQL' => [ "ALTER TABLE `".BIT_DB_PREFIX."mail_queue` ALTER `last_read_ip` TYPE VARCHAR(39)" ,], - 'OCI' => [ "ALTER TABLE `".BIT_DB_PREFIX."mail_queue` MODIFY (`last_read_ip` TYPE VARCHAR2(39))" ,], - 'MYSQL' => [ "ALTER TABLE `".BIT_DB_PREFIX."mail_queue` MODIFY `last_read_ip` VARCHAR(39)" ,], - ], -], - -]); -?> diff --git a/admin/upgrades/1.0.2.php b/admin/upgrades/1.0.2.php deleted file mode 100644 index 5a0f36d..0000000 --- a/admin/upgrades/1.0.2.php +++ /dev/null @@ -1,26 +0,0 @@ - NEWSLETTERS_PKG_NAME, - 'version' => str_replace( '.php', '', basename( __FILE__ )), - 'description' => "Replace reserved name reads with hits", - 'post_upgrade' => NULL, -]; - -// Increase the size of the IP column to cope with IPv6 -$gBitInstaller->registerPackageUpgrade( $infoHash, [ - -[ 'DATADICT' => [ - [ 'RENAMECOLUMN' => [ - 'mail_queue' => [ - '`reads`' => '`hits` I2 NOTNULL DEFAULT 0', - ], - ]], -]], - -]); -?> -- cgit v1.3