commit 24459dae0c73994d9a6db44fb7672c5cc973168d parent 78369febd50618f9e83d4c9389b53c3990835b19 Author: Jan Dankert <develop@jandankert.de> Date: Sat, 31 Oct 2020 01:50:29 +0100 Fix for Mysql < 5.6, the index must not exceed 767 bytes :-O Diffstat:
M | modules/cms/update/version/DBVersion000022.class.php | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/cms/update/version/DBVersion000022.class.php b/modules/cms/update/version/DBVersion000022.class.php @@ -24,7 +24,7 @@ class DBVersion000022 extends DbVersion $table->column('ldap_dn' )->drop(); $table->column('auth_type' )->type(Column::TYPE_INT )->size(2)->defaultValue(1 )->add(); - $table->column('issuer' )->type(Column::TYPE_VARCHAR )->size(255)->nullable()->add(); + $table->column('issuer' )->type(Column::TYPE_VARCHAR )->size(50)->nullable()->add(); $table->dropUniqueIndex( ['name'] ); $table->addUniqueIndex ( ['name','auth_type','issuer'] );