1
0
mirror of https://github.com/flarum/core.git synced 2025-08-05 07:57:46 +02:00

Add id to migrations table (#2794)

This commit is contained in:
Alexander Skvortsov
2021-04-19 10:35:21 -04:00
committed by GitHub
parent a56f4896a6
commit 1699ac3355
2 changed files with 28 additions and 0 deletions

View File

@@ -98,6 +98,7 @@ class DatabaseMigrationRepository implements MigrationRepositoryInterface
$schema = $this->connection->getSchemaBuilder();
$schema->create($this->table, function ($table) {
$table->increments('id');
$table->string('migration');
$table->string('extension')->nullable();
});