]> source.dussan.org Git - nextcloud-server.git/commitdiff
Use BIGINT for new table id field
authorCôme Chilliet <come.chilliet@nextcloud.com>
Mon, 7 Aug 2023 09:52:41 +0000 (11:52 +0200)
committerCôme Chilliet <come.chilliet@nextcloud.com>
Thu, 10 Aug 2023 08:57:36 +0000 (10:57 +0200)
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
apps/user_ldap/lib/Migration/Version1190Date20230706134108.php

index c6bd795f3e6491c232f4eedf44e97dbfaf375c42..51d4510f66c0a7e7ae4f8557fb42600cd24c4173 100644 (file)
@@ -48,10 +48,9 @@ class Version1190Date20230706134108 extends SimpleMigrationStep {
 
                if (!$schema->hasTable('ldap_group_membership')) {
                        $table = $schema->createTable('ldap_group_membership');
-                       $table->addColumn('id', 'integer', [
+                       $table->addColumn('id', Types::BIGINT, [
                                'autoincrement' => true,
                                'notnull' => true,
-                               'length' => 4,
                        ]);
                        $table->addColumn('groupid', Types::STRING, [
                                'notnull' => true,