updated migration

This commit is contained in:
ArnabChatterjee20k
2025-10-15 14:24:59 +05:30
parent 6579ea5b56
commit f28588ecb6
+2 -3
View File
@@ -463,8 +463,7 @@ class Migrations extends Action
*/
$databaseOverride = '';
$dbScheme = '';
$project = $this->project;
$region = $project->getAttribute('region');
$region = $this->project->getAttribute('region');
switch ($databaseType) {
case 'documentsdb':
$databases = Config::getParam('pools-documentsdb', []);
@@ -474,7 +473,7 @@ class Migrations extends Action
break;
default:
// legacy/tablesdb case where projects having the location of the database
return $project->getAttribute('database');
return $this->project->getAttribute('database');
}
if ($region !== 'default') {