SF.net SVN: postfixadmin:[491] trunk/upgrade.php
Brought to you by:
christian_boltz,
gingerdog
|
From: <Gin...@us...> - 2008-11-25 10:00:12
|
Revision: 491
http://postfixadmin.svn.sourceforge.net/postfixadmin/?rev=491&view=rev
Author: GingerDog
Date: 2008-11-25 10:00:09 +0000 (Tue, 25 Nov 2008)
Log Message:
-----------
upgrade.php: syntax error fix
Modified Paths:
--------------
trunk/upgrade.php
Modified: trunk/upgrade.php
===================================================================
--- trunk/upgrade.php 2008-11-25 09:55:27 UTC (rev 490)
+++ trunk/upgrade.php 2008-11-25 10:00:09 UTC (rev 491)
@@ -363,17 +363,17 @@
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\';
');
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|