version 0.8.0
This commit is contained in:
parent
f22007003a
commit
e5ca9ef194
95 changed files with 5601 additions and 4042 deletions
15
app/Database/Migrator.php
Normal file
15
app/Database/Migrator.php
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
<?php
|
||||
declare(strict_types=1);
|
||||
|
||||
/**
|
||||
* Migrations-Runner (Komponente).
|
||||
* Kapselt die versionierten Schema-Definitionen aus app/Database/migrations.php.
|
||||
* Aufruf: Migrator::run($pdo, $dbname).
|
||||
*/
|
||||
final class Migrator
|
||||
{
|
||||
public static function run(PDO $pdo, string $dbname): void
|
||||
{
|
||||
runMigrations($pdo, $dbname);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue