summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorChristopher Ng <chrng8@gmail.com>2021-12-13 19:51:48 +0000
committerChristopher Ng <chrng8@gmail.com>2021-12-14 00:12:40 +0000
commitc85ab47a11aae0861316c8da7cd74bb558032e0c (patch)
treee0a0b3b2f51425e5e1bbcbff4bbf3c471ca31643 /core
parent09915ec15e59f8a6ae646db255221c3a4ec23181 (diff)
downloadnextcloud-server-c85ab47a11aae0861316c8da7cd74bb558032e0c.tar.gz
nextcloud-server-c85ab47a11aae0861316c8da7cd74bb558032e0c.zip
Use bigint for autoincremented column
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Diffstat (limited to 'core')
-rw-r--r--core/Migrations/Version23000Date20210930122352.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Migrations/Version23000Date20210930122352.php b/core/Migrations/Version23000Date20210930122352.php
index e8400377b3e..e67d4237ec9 100644
--- a/core/Migrations/Version23000Date20210930122352.php
+++ b/core/Migrations/Version23000Date20210930122352.php
@@ -48,7 +48,7 @@ class Version23000Date20210930122352 extends SimpleMigrationStep {
$hasTable = $schema->hasTable(self::TABLE_NAME);
if (!$hasTable) {
$table = $schema->createTable(self::TABLE_NAME);
- $table->addColumn('id', Types::INTEGER, [
+ $table->addColumn('id', Types::BIGINT, [
'autoincrement' => true,
'notnull' => true,
]);