From 36109783faf7049ca6ffb6279c1290448e827b62 Mon Sep 17 00:00:00 2001 From: David Goodwin Date: Tue, 22 Apr 2008 23:05:29 +0000 Subject: [PATCH] upgrade.php: fix bug in mysql vacation notification table as reported by gabbs on irc (thanks!) git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@339 a1433add-5e2c-0410-b055-b7f2511e0802 --- upgrade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/upgrade.php b/upgrade.php index c4a48ff6..2857b915 100644 --- a/upgrade.php +++ b/upgrade.php @@ -670,7 +670,7 @@ function upgrade_318_mysql() { CREATE TABLE {IF_NOT_EXISTS} $table_vacation_notification ( on_vacation varchar(255) NOT NULL, notified varchar(255) NOT NULL, - notified_at timestamp NOT NULL default now(), + notified_at timestamp NOT NULL default CURRENT_TIMESTAMP, PRIMARY KEY on_vacation (`on_vacation`, `notified`), CONSTRAINT `vacation_notification_pkey` FOREIGN KEY (`on_vacation`) REFERENCES vacation(`email`) ON DELETE CASCADE