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

Squash core migrations (#2842)

Data migrations (seed default groups, seed default permissions) are deliberately excluded.
This also allows us to remove a lot of now unnecessary public API from the migrator and migration repository.
This commit is contained in:
Alexander Skvortsov
2021-05-10 18:05:01 -04:00
committed by GitHub
parent a28009f24b
commit 6ecca9565a
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.
*