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
postfixadmin-2.3
David Goodwin 16 years ago
parent 9a3c1d41cc
commit 36109783fa

@ -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

Loading…
Cancel
Save