update full

This commit is contained in:
2024-12-04 13:11:12 +03:00
parent fd9439c9e2
commit 49399e456a
34 changed files with 780 additions and 121 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('Не удалось поднять миграции');
}
}