mirror of https://github.com/nextcloud/server
Use bigint for autoincremented column
Signed-off-by: Christopher Ng <chrng8@gmail.com>
This commit is contained in:
parent
09915ec15e
commit
c85ab47a11
|
@ -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 New Issue