aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2020-11-20 15:38:59 +0100
committerJulius Härtl <jus@bitgrid.net>2020-12-08 16:05:53 +0100
commit8f6c2ec357dd9fcc71f2f8fb69a325004b36b98b (patch)
tree49041577e8e8764821199928ec340c4a4101b381 /apps
parentbb21e87d2321af184f720200b4f8826892f00055 (diff)
downloadnextcloud-server-8f6c2ec357dd9fcc71f2f8fb69a325004b36b98b.tar.gz
nextcloud-server-8f6c2ec357dd9fcc71f2f8fb69a325004b36b98b.zip
Move columns to bigint
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'apps')
-rw-r--r--apps/federatedfilesharing/lib/Migration/Version1010Date20200630191755.php3
-rw-r--r--apps/files_sharing/lib/Migration/Version11300Date20201120141438.php5
-rw-r--r--apps/settings/lib/Controller/CheckSetupController.php2
3 files changed, 5 insertions, 5 deletions
diff --git a/apps/federatedfilesharing/lib/Migration/Version1010Date20200630191755.php b/apps/federatedfilesharing/lib/Migration/Version1010Date20200630191755.php
index b8d498f3228..7376c8d9e73 100644
--- a/apps/federatedfilesharing/lib/Migration/Version1010Date20200630191755.php
+++ b/apps/federatedfilesharing/lib/Migration/Version1010Date20200630191755.php
@@ -44,9 +44,8 @@ class Version1010Date20200630191755 extends SimpleMigrationStep {
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,
diff --git a/apps/files_sharing/lib/Migration/Version11300Date20201120141438.php b/apps/files_sharing/lib/Migration/Version11300Date20201120141438.php
index 84c8721dec3..61833249828 100644
--- a/apps/files_sharing/lib/Migration/Version11300Date20201120141438.php
+++ b/apps/files_sharing/lib/Migration/Version11300Date20201120141438.php
@@ -18,11 +18,11 @@ class Version11300Date20201120141438 extends SimpleMigrationStep {
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,
]);
@@ -86,5 +86,4 @@ class Version11300Date20201120141438 extends SimpleMigrationStep {
return $schema;
}
-
}
diff --git a/apps/settings/lib/Controller/CheckSetupController.php b/apps/settings/lib/Controller/CheckSetupController.php
index 7929e9c3962..348228629b0 100644
--- a/apps/settings/lib/Controller/CheckSetupController.php
+++ b/apps/settings/lib/Controller/CheckSetupController.php
@@ -627,12 +627,14 @@ Raw output
'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'],
];