CRUD tag entity
This commit is contained in:
@ -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('Не удалось поднять миграции');
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user