summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorVincent Petry <vincent@nextcloud.com>2020-12-23 17:50:50 +0100
committerVincent Petry <vincent@nextcloud.com>2020-12-23 17:50:50 +0100
commitbdbec28a8fe283edfc3368cc420aec02f19e1d0a (patch)
treeef06a0fd1bc212b8a2a1a256f4ba782fb215515e /apps
parent5b61120491f57485579954f3f2f973ca5e6b483f (diff)
downloadnextcloud-server-bdbec28a8fe283edfc3368cc420aec02f19e1d0a.tar.gz
nextcloud-server-bdbec28a8fe283edfc3368cc420aec02f19e1d0a.zip
Make oc_files_trash.auto_id a bigint
Adjusted migration. Added to occ command to update existing tables. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Diffstat (limited to 'apps')
-rw-r--r--apps/files_trashbin/lib/Migration/Version1010Date20200630192639.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/files_trashbin/lib/Migration/Version1010Date20200630192639.php b/apps/files_trashbin/lib/Migration/Version1010Date20200630192639.php
index 4b3f2d9f795..e5443a1f79c 100644
--- a/apps/files_trashbin/lib/Migration/Version1010Date20200630192639.php
+++ b/apps/files_trashbin/lib/Migration/Version1010Date20200630192639.php
@@ -45,10 +45,9 @@ class Version1010Date20200630192639 extends SimpleMigrationStep {
if (!$schema->hasTable('files_trash')) {
$table = $schema->createTable('files_trash');
- $table->addColumn('auto_id', Types::INTEGER, [
+ $table->addColumn('auto_id', Types::BIGINT, [
'autoincrement' => true,
'notnull' => true,
- 'length' => 4,
]);
$table->addColumn('id', Types::STRING, [
'notnull' => true,