From 17e347de7f4e088633b34eb816af12eb1bc2f8fe Mon Sep 17 00:00:00 2001 From: David Goodwin Date: Sat, 11 Nov 2017 12:52:15 +0000 Subject: [PATCH] Add id autoincrement field to log table; ought to fix #89 --- upgrade.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/upgrade.php b/upgrade.php index 6abc10a9..6824dc9f 100644 --- a/upgrade.php +++ b/upgrade.php @@ -1722,3 +1722,8 @@ function upgrade_1837_sqlite() { } } + +/* https://github.com/postfixadmin/postfixadmin/issues/89 */ +function upgrade_1838_mysql() { + _db_add_field('log', 'id', '{AUTOINCREMENT} {PRIMARY}' , 'data'); +}