diff options
author | Carl Schwan <carl@carlschwan.eu> | 2022-09-16 11:05:50 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-16 11:05:50 +0200 |
commit | 5e0906388f8b222fe381c96ab39cbc6ce8a79af7 (patch) | |
tree | bb379cfa62a0b8e2caa675f0097990f6b56645c5 /core | |
parent | f26393013aea8a92648de38a0f282d64cb68e33a (diff) | |
parent | 9f6ad219013ab0663be2487785bd227e07c1dcdc (diff) | |
download | nextcloud-server-5e0906388f8b222fe381c96ab39cbc6ce8a79af7.tar.gz nextcloud-server-5e0906388f8b222fe381c96ab39cbc6ce8a79af7.zip |
Merge pull request #34090 from nextcloud/backport/34067/stable24
[stable24] Convert file_metadata.id from int(11) to bigint(20)
Diffstat (limited to 'core')
-rw-r--r-- | core/Command/Db/ConvertFilecacheBigInt.php | 1 | ||||
-rw-r--r-- | core/Migrations/Version24000Date20220404230027.php | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/core/Command/Db/ConvertFilecacheBigInt.php b/core/Command/Db/ConvertFilecacheBigInt.php index 34b717025a0..eebaf1f88dc 100644 --- a/core/Command/Db/ConvertFilecacheBigInt.php +++ b/core/Command/Db/ConvertFilecacheBigInt.php @@ -72,6 +72,7 @@ class ConvertFilecacheBigInt extends Command { 'filecache_extended' => ['fileid'], 'files_trash' => ['auto_id'], 'file_locks' => ['id'], + 'file_metadata' => ['id'], 'jobs' => ['id'], 'mimetypes' => ['id'], 'mounts' => ['id', 'storage_id', 'root_id', 'mount_id'], diff --git a/core/Migrations/Version24000Date20220404230027.php b/core/Migrations/Version24000Date20220404230027.php index a650fcb7021..d53a43af959 100644 --- a/core/Migrations/Version24000Date20220404230027.php +++ b/core/Migrations/Version24000Date20220404230027.php @@ -45,7 +45,7 @@ class Version24000Date20220404230027 extends SimpleMigrationStep { if (!$schema->hasTable('file_metadata')) { $table = $schema->createTable('file_metadata'); - $table->addColumn('id', Types::INTEGER, [ + $table->addColumn('id', Types::BIGINT, [ 'notnull' => true, ]); $table->addColumn('group_name', Types::STRING, [ |