From ec2fbfd87f5f1c30765549fa8bad993383527599 Mon Sep 17 00:00:00 2001 From: David Goodwin Date: Wed, 12 Feb 2020 21:19:49 +0000 Subject: [PATCH] skip this query - for a new database it will run before the domain table has been created and just error --- public/upgrade.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/public/upgrade.php b/public/upgrade.php index 4f0770b2..8ca53aaa 100644 --- a/public/upgrade.php +++ b/public/upgrade.php @@ -706,7 +706,10 @@ function upgrade_3_mysql() { */ function upgrade_4_mysql() { # MySQL only # changes between 2.1 and moving to sourceforge + + return; // as the above _mysql functions are disabled; this one will just error for a new db. $table_domain = table_by_key('domain'); + db_query_parsed("ALTER TABLE $table_domain ADD COLUMN quota int(10) NOT NULL default '0' AFTER maxquota", true); # Possible errors that can be ignored: # - Invalid query: Table 'postfix.domain' doesn't exist