Skip to content
Sites Hackathon is live / Aug 29 - Sep 12
Back

Appwrite CLI: push tables fails with relatedCollectionId in relationships

  • 0
  • Tools
  • Databases
  • Cloud
shimmy
29 Aug, 2025, 07:40

I’m hitting an issue with Appwrite CLI (v9.0.2, Cloud).

After appwrite pull tables, it strips relatedCollectionId from appwrite.json. Then on appwrite push tables I get:.

Example field I tried:

TypeScript
  "key": "actor",
  "type": "relationship",
  "relatedTablesId": "profiles",
  "required": false,
  "array": false,
  "relationType": "oneToMany",
  "twoWay": false,
  "onDelete": "setNull",
  "side": "parent"
}```

Tried both relatedCollectionId and relatedTablesId, but push still fails.
Any known fix or workaround?
TL;DR
Issue with Appwrite CLI push tables failing due to relatedCollectionId being stripped after using appwrite pull tables. The provided example field is not working. No known fix or workaround at this time.
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more