From 8f965b747f16d563c2e43b58a35d912d2060f983 Mon Sep 17 00:00:00 2001 From: David Goodwin Date: Tue, 25 Nov 2008 09:55:27 +0000 Subject: [PATCH] upgrade.php: see bug 2339963 git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@490 a1433add-5e2c-0410-b055-b7f2511e0802 --- upgrade.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/upgrade.php b/upgrade.php index df317f87..ec2b3702 100644 --- a/upgrade.php +++ b/upgrade.php @@ -401,10 +401,9 @@ function upgrade_2_pgsql() { COMMENT ON TABLE ' . table_by_key('log') . ' IS \'Postfix Admin - Log\'; '); } - if(!_pgsql_object_exists(table_by_key('mailbox'))) { db_query_parsed(' - CREATE TABLE mailbox ( + CREATE TABLE ' . table_by_key('mailbox') . ' ( username character varying(255) NOT NULL, password character varying(255) NOT NULL default \'\', name character varying(255) NOT NULL default \'\',