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:
@@ -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.
|
||||
*
|
||||
|
Reference in New Issue
Block a user