mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
Merge pull request #34067 from nextcloud/timm2k-patch-1
Convert file_metadata.id from int(11) to bigint(20)
This commit is contained in:
commit
cd21caf846
3 changed files with 3 additions and 1 deletions
|
|
@ -770,6 +770,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'],
|
||||
|
|
|
|||
|
|
@ -67,6 +67,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