1
0
mirror of https://github.com/flarum/core.git synced 2025-10-20 03:06:07 +02:00

Revert "Revert "Squash core migrations (#2842)""

This reverts commit 16f3ae9d1e.
This commit is contained in:
Daniel Klabbers
2021-05-31 15:49:20 +02:00
parent 1bbfea4aa3
commit 2c5e5f13dd
7 changed files with 510 additions and 44 deletions

View File

@@ -88,22 +88,6 @@ 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.
*