Add id autoincrement field to log table; ought to fix #89

This commit is contained in:
David Goodwin committed 2017-11-11 12:52:15 +00:00
1 parent 90d3a0ded7
commit 17e347de7f
1 file changed
+5
+5
View File
@@ -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');
}