if (!$schema->hasTable('federated_reshares')) {
$table = $schema->createTable('federated_reshares');
- $table->addColumn('share_id', Types::INTEGER, [
+ $table->addColumn('share_id', Types::BIGINT, [
'notnull' => true,
- 'length' => 4,
]);
$table->addColumn('remote_id', Types::STRING, [
'notnull' => true,
if (!$schema->hasTable('share_external')) {
$table = $schema->createTable('share_external');
- $table->addColumn('id', Types::INTEGER, [
+ $table->addColumn('id', Types::BIGINT, [
'autoincrement' => true,
'notnull' => true,
]);
- $table->addColumn('parent', Types::INTEGER, [
+ $table->addColumn('parent', Types::BIGINT, [
'notnull' => false,
'default' => -1,
]);
return $schema;
}
-
}
'activity_mq' => ['mail_id'],
'authtoken' => ['id'],
'bruteforce_attempts' => ['id'],
+ 'federated_reshares' => ['share_id'],
'filecache' => ['fileid', 'storage', 'parent', 'mimetype', 'mimepart', 'mtime', 'storage_mtime'],
'filecache_extended' => ['fileid'],
'file_locks' => ['id'],
'jobs' => ['id'],
'mimetypes' => ['id'],
'mounts' => ['id', 'storage_id', 'root_id', 'mount_id'],
+ 'share_external' => ['id', 'parent'],
'storages' => ['numeric_id'],
];
'activity_mq' => ['mail_id'],
'authtoken' => ['id'],
'bruteforce_attempts' => ['id'],
+ 'federated_reshares' => ['share_id'],
'filecache' => ['fileid', 'storage', 'parent', 'mimetype', 'mimepart', 'mtime', 'storage_mtime'],
'filecache_extended' => ['fileid'],
'file_locks' => ['id'],
'jobs' => ['id'],
'mimetypes' => ['id'],
'mounts' => ['id', 'storage_id', 'root_id', 'mount_id'],
+ 'share_external' => ['id', 'parent'],
'storages' => ['numeric_id'],
];
}