add to both dbs

This commit is contained in:
Chirag Aggarwal
2025-10-28 15:09:11 +05:30
parent 7b1e163c77
commit 0bfbae4cdd
+1 -10
View File
@@ -135,6 +135,7 @@ class V23 extends Migration
case 'buckets':
try {
$this->createAttributeFromCollection($this->dbForProject, $id, 'transformations');
$this->createAttributeFromCollection($this->dbForPlatform, $id, 'transformations');
} catch (Throwable $th) {
Console::warning("'transformations' from {$id}: {$th->getMessage()}");
}
@@ -144,16 +145,6 @@ class V23 extends Migration
break;
}
}
try {
$this->createAttributeFromCollection(
$this->dbForPlatform,
'buckets',
'transformations',
);
} catch (Throwable $th) {
Console::warning("(platform) 'transformations' from 'buckets': {$th->getMessage()}");
}
}
/**