CRUD tag entity
This commit is contained in:
1 parent
745707ee09
commit
4920d3b08e
15 files changed
+327
-17
No files matched your search
@@ -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