aboutsummaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/lib/Migration/Version1130Date20220110154718.php
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2022-03-23 15:28:58 +0100
committerCôme Chilliet (Rebase PR Action) <come-nc@users.noreply.github.com>2022-03-30 14:43:08 +0000
commit2f49f4a0fe186790173f0bad1f14760b57e6d7f6 (patch)
tree3e95850c98722cb5a49cac5dbcf0eb8be5315258 /apps/user_ldap/lib/Migration/Version1130Date20220110154718.php
parentf528c5416cea24fc8965d564508d267d713c165e (diff)
downloadnextcloud-server-2f49f4a0fe186790173f0bad1f14760b57e6d7f6.tar.gz
nextcloud-server-2f49f4a0fe186790173f0bad1f14760b57e6d7f6.zip
limit ldap_dn columns to 4000
- enlarging string cols from 255 to more than 4000 fails on default Oracle installations for invalid datatype conversion Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'apps/user_ldap/lib/Migration/Version1130Date20220110154718.php')
-rw-r--r--apps/user_ldap/lib/Migration/Version1130Date20220110154718.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/user_ldap/lib/Migration/Version1130Date20220110154718.php b/apps/user_ldap/lib/Migration/Version1130Date20220110154718.php
index 5f146ab06a5..74dd2d873bc 100644
--- a/apps/user_ldap/lib/Migration/Version1130Date20220110154718.php
+++ b/apps/user_ldap/lib/Migration/Version1130Date20220110154718.php
@@ -54,7 +54,7 @@ class Version1130Date20220110154718 extends GroupMappingMigration {
$table = $schema->createTable('ldap_group_mapping');
$table->addColumn('ldap_dn', Types::STRING, [
'notnull' => true,
- 'length' => 4096,
+ 'length' => 4000,
'default' => '',
]);
$table->addColumn('owncloud_name', Types::STRING, [