mirror of
https://github.com/postfixadmin/postfixadmin.git
synced 2026-11-20 23:43:26 +03:00
ignore this for sqlite which does not like a pk field being added
This commit is contained in:
1 parent
2edabc3e03
commit
e8f3c40442
1 file changed
+6
-3
+6
-3
@@ -1890,9 +1890,7 @@ function upgrade_1836_mysql()
|
||||
*/
|
||||
function upgrade_1837()
|
||||
{
|
||||
global $CONF;
|
||||
|
||||
if ($CONF['database_type'] == 'sqlite') {
|
||||
if (db_sqlite()) {
|
||||
return;
|
||||
}
|
||||
# alternative contact means to reset a forgotten password
|
||||
@@ -2012,5 +2010,10 @@ function upgrade_1843()
|
||||
function upgrade_1844()
|
||||
{
|
||||
# See:https://github.com/postfixadmin/postfixadmin/issues/475 - add pkey to domain_admins.
|
||||
|
||||
if (db_sqlite()) {
|
||||
return;
|
||||
}
|
||||
|
||||
_db_add_field('domain_admins', 'id', '{AUTOINCREMENT} {PRIMARY}');
|
||||
}
|
||||
Reference in new issue
Block a user