Make oc_files_trash.auto_id a biginttags/v21.0.0beta4
if (!$schema->hasTable('files_trash')) { | if (!$schema->hasTable('files_trash')) { | ||||
$table = $schema->createTable('files_trash'); | $table = $schema->createTable('files_trash'); | ||||
$table->addColumn('auto_id', Types::INTEGER, [ | |||||
$table->addColumn('auto_id', Types::BIGINT, [ | |||||
'autoincrement' => true, | 'autoincrement' => true, | ||||
'notnull' => true, | 'notnull' => true, | ||||
'length' => 4, | |||||
]); | ]); | ||||
$table->addColumn('id', Types::STRING, [ | $table->addColumn('id', Types::STRING, [ | ||||
'notnull' => true, | 'notnull' => true, |
'federated_reshares' => ['share_id'], | 'federated_reshares' => ['share_id'], | ||||
'filecache' => ['fileid', 'storage', 'parent', 'mimetype', 'mimepart', 'mtime', 'storage_mtime'], | 'filecache' => ['fileid', 'storage', 'parent', 'mimetype', 'mimepart', 'mtime', 'storage_mtime'], | ||||
'filecache_extended' => ['fileid'], | 'filecache_extended' => ['fileid'], | ||||
'files_trash' => ['auto_id'], | |||||
'file_locks' => ['id'], | 'file_locks' => ['id'], | ||||
'jobs' => ['id'], | 'jobs' => ['id'], | ||||
'mimetypes' => ['id'], | 'mimetypes' => ['id'], |