mirror of
https://github.com/postfixadmin/postfixadmin.git
synced 2026-11-20 23:43:26 +03:00
update quota/quota2 username collation - see #690
This commit is contained in:
1 parent
53bb238a26
commit
80a5a43cb6
1 file changed
+12
@@ -2005,3 +2005,15 @@ function upgrade_1846_mysql() {
|
||||
|
||||
db_query("ALTER TABLE $domain_admins MODIFY `domain` varchar(255) COLLATE latin1_general_ci NOT NULL");
|
||||
}
|
||||
|
||||
function upgrade_1847_mysql() {
|
||||
# See https://github.com/postfixadmin/postfixadmin/issues/327
|
||||
# See https://github.com/postfixadmin/postfixadmin/issues/690
|
||||
#
|
||||
#
|
||||
|
||||
foreach(['quota','quota2'] as $table) {
|
||||
$table = table_by_key($table);
|
||||
db_query("ALTER TABLE $table MODIFY username varchar(255) COLLATE latin1_general_ci NOT NULL");
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user