use metadata constant
This commit is contained in:
parent
e2555e2448
commit
51cbc653af
1 changed files with 1 additions and 1 deletions
|
@ -229,7 +229,7 @@ abstract class Worker
|
|||
throw new \Exception("Project does not exist: {$projectId}");
|
||||
}
|
||||
|
||||
if ($type === self::DATABASE_CONSOLE && !$database->exists($database->getDefaultDatabase(), '_metadata')) {
|
||||
if ($type === self::DATABASE_CONSOLE && !$database->exists($database->getDefaultDatabase(), Database::METADATA)) {
|
||||
throw new \Exception('Console project not ready');
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue