mirror of
https://github.com/appwrite/appwrite.git
synced 2026-11-18 20:36:03 +00:00
Merge remote-tracking branch 'origin/add-project-variable-migration' into add-webhook-migration
This commit is contained in:
commit
ab731ca82d
1 file changed
-2
@@ -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()]),
|
||||
|
||||
Reference in new issue
Block a user