1
0
mirror of https://github.com/flarum/core.git synced 2025-10-20 19:27:14 +02:00

Revert "Squash core migrations (#2842)"

This reverts commit 6ecca9565a.
This commit is contained in:
Daniel Klabbers
2021-05-29 22:38:25 +02:00
parent a976a2118a
commit 16f3ae9d1e
7 changed files with 44 additions and 510 deletions

View File

@@ -88,6 +88,22 @@ class DatabaseMigrationRepository implements MigrationRepositoryInterface
$query->delete();
}
/**
* Create the migration repository data store.
*
* @return void
*/
public function createRepository()
{
$schema = $this->connection->getSchemaBuilder();
$schema->create($this->table, function ($table) {
$table->increments('id');
$table->string('migration');
$table->string('extension')->nullable();
});
}
/**
* Determine if the migration repository exists.
*