mirror of
https://github.com/nextcloud/server.git
synced 2026-06-10 17:23:59 -04:00
Merge pull request #34090 from nextcloud/backport/34067/stable24
[stable24] Convert file_metadata.id from int(11) to bigint(20)
This commit is contained in:
commit
5e0906388f
3 changed files with 3 additions and 1 deletions
|
|
@ -762,6 +762,7 @@ Raw output
|
|||
'filecache' => ['fileid', 'storage', 'parent', 'mimetype', 'mimepart', 'mtime', 'storage_mtime'],
|
||||
'filecache_extended' => ['fileid'],
|
||||
'file_locks' => ['id'],
|
||||
'file_metadata' => ['id'],
|
||||
'jobs' => ['id'],
|
||||
'mimetypes' => ['id'],
|
||||
'mounts' => ['id', 'storage_id', 'root_id', 'mount_id'],
|
||||
|
|
|
|||
|
|
@ -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'],
|
||||
|
|
|
|||
|
|
@ -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, [
|
||||
|
|
|
|||
Loading…
Reference in a new issue