Skip to content

Commit

Permalink
see: #475 - add domain_admins.id pk autoincrement field
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidGoodwin committed Apr 13, 2021
1 parent 8596ead commit 1c456ba
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions public/upgrade.php
Original file line number Diff line number Diff line change
Expand Up @@ -1935,3 +1935,12 @@ function upgrade_1843() {
# Additional field for fetchmail to allow server with non-standard port number
_db_add_field('fetchmail', 'src_port', "{INT}", 'src_server');
}


/**
* @return void
*/
function upgrade_1844() {
# See:https://github.com/postfixadmin/postfixadmin/issues/475 - add pkey to domain_admins.
_db_add_field('domain_admins', 'id', '{AUTOINCREMENT} {PRIMARY}');
}

0 comments on commit 1c456ba

Please sign in to comment.