SF.net SVN: postfixadmin: [339] trunk/upgrade.php
Brought to you by:
christian_boltz,
gingerdog
|
From: <Gin...@us...> - 2008-04-22 23:05:23
|
Revision: 339
http://postfixadmin.svn.sourceforge.net/postfixadmin/?rev=339&view=rev
Author: GingerDog
Date: 2008-04-22 16:05:29 -0700 (Tue, 22 Apr 2008)
Log Message:
-----------
upgrade.php: fix bug in mysql vacation notification table as reported by gabbs on irc (thanks!)
Modified Paths:
--------------
trunk/upgrade.php
Modified: trunk/upgrade.php
===================================================================
--- trunk/upgrade.php 2008-04-20 19:59:06 UTC (rev 338)
+++ trunk/upgrade.php 2008-04-22 23:05:29 UTC (rev 339)
@@ -670,7 +670,7 @@
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
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|