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:
committed by
GitHub
parent
a28009f24b
commit
6ecca9565a
@@ -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.
|
||||
*
|
||||
|
Reference in New Issue
Block a user