Merge remote-tracking branch 'origin/add-project-variable-migration' into add-webhook-migration

This commit is contained in:
Prem Palanisamy committed 2026-05-14 23:04:01 +01:00
commit ab731ca82d
1 file changed
-2
-2
View File
@@ -3118,8 +3118,6 @@ class Appwrite extends Destination
protected function createProjectVariable(ProjectVariable $resource): bool
{
// Variables live in dbForProject (not dbForPlatform). resourceType is 'project' (singular)
// for project-scope variables; function/site-scope variables use 'function'/'site'.
$existing = $this->dbForProject->findOne('variables', [
Query::equal('resourceType', ['project']),
Query::equal('key', [$resource->getKey()]),