From 4b4598c78c730ec6766a9f89198af481356c8118 Mon Sep 17 00:00:00 2001 From: David Goodwin Date: Tue, 25 Nov 2008 10:00:09 +0000 Subject: [PATCH] upgrade.php: syntax error fix git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@491 a1433add-5e2c-0410-b055-b7f2511e0802 --- upgrade.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/upgrade.php b/upgrade.php index ec2b3702..69ca414c 100644 --- a/upgrade.php +++ b/upgrade.php @@ -363,17 +363,17 @@ function upgrade_2_pgsql() { if(!_pgsql_object_exists(table_by_key('alias'))) { db_query_parsed(' - CREATE TABLE ' . table_by_key('alias') . ' ( + CREATE TABLE ' . table_by_key("alias") . ' ( address character varying(255) NOT NULL, goto text NOT NULL, - domain character varying(255) NOT NULL REFERENCES "' . table_by_key('domain') '", + domain character varying(255) NOT NULL REFERENCES "' . table_by_key("domain") . '", created timestamp with time zone default now(), modified timestamp with time zone default now(), active boolean NOT NULL default true, Constraint "alias_key" Primary Key ("address") ); - CREATE INDEX alias_address_active ON ' . table_by_key('alias') . '(address,active); - COMMENT ON TABLE ' . table_by_key('alias') . ' IS \'Postfix Admin - Virtual Aliases\'; + CREATE INDEX alias_address_active ON ' . table_by_key("alias") . '(address,active); + COMMENT ON TABLE ' . table_by_key("alias") . ' IS \'Postfix Admin - Virtual Aliases\'; '); }