mirror of
https://github.com/nextcloud/server.git
synced 2026-04-15 22:11:17 -04:00
Use bigint for autoincremented column
Signed-off-by: Christopher Ng <chrng8@gmail.com>
This commit is contained in:
parent
09915ec15e
commit
c85ab47a11
1 changed files with 1 additions and 1 deletions
|
|
@ -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,
|
||||
]);
|
||||
|
|
|
|||
Loading…
Reference in a new issue