CRUD tag entity

This commit is contained in:
2024-11-25 16:58:01 +03:00
parent 745707ee09
commit 4920d3b08e
15 changed files with 327 additions and 17 deletions

View File

@ -23,6 +23,7 @@ class MigrationService
public function runAtPath(string $path = ROOT_DIR . '/migrations'): array
{
$path = getConst($path);
// Debug::dd($path);
try {
$dmr = new DatabaseMigrationRepository(App::$db->capsule->getDatabaseManager(), 'migration');
@ -31,7 +32,7 @@ class MigrationService
return $m->run($path);
} catch (\Exception $e) {
throw new \Exception('Не удалось поднять играции');
throw new \Exception('Не удалось поднять миграции');
}
}