-
Notifications
You must be signed in to change notification settings - Fork 44
Closed
Labels
questionFurther information is requestedFurther information is requested
Description
👟 Reproduction steps
- Go to Appwrite Console
- Create new database
- Create new table in the database
- Create new column with relationship to other table in the table
- Pull databases to your Appwrite CLI project config
- Push databases to your Appwrite using CLI
- See exception:
👍 Expected behavior
Appwrite cli should push tables with relationship columns successfully
👎 Actual Behavior
Throws exception:
AppwriteException: Missing required parameter: "relatedCollectionId"
at Databases.createRelationshipAttribute (file:///opt/homebrew/Cellar/appwrite/13.0.1/libexec/lib/node_modules/appwrite-cli/node_modules/@appwrite.io/console/dist/esm/sdk.js:5771:19)
at Attributes.createAttribute (file:///opt/homebrew/Cellar/appwrite/13.0.1/libexec/lib/node_modules/appwrite-cli/dist/lib/commands/utils/attributes.js:229:41)
at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
at async Attributes.createColumns (file:///opt/homebrew/Cellar/appwrite/13.0.1/libexec/lib/node_modules/appwrite-cli/dist/lib/commands/utils/attributes.js:513:17)
at async Push.pushTables (file:///opt/homebrew/Cellar/appwrite/13.0.1/libexec/lib/node_modules/appwrite-cli/dist/lib/commands/push.js:1080:17)
at async pushTable (file:///opt/homebrew/Cellar/appwrite/13.0.1/libexec/lib/node_modules/appwrite-cli/dist/lib/commands/push.js:1580:20) {
code: 0,
type: '',
response: ''
}
🎲 Appwrite version
Version 1.8.x
💻 Operating system
MacOS
🧱 Your Environment
I use self-hosted docker image of Appwrite
👀 Have you spent some time to check if this issue has been raised before?
- I checked and didn't find similar issue
🏢 Have you read the Code of Conduct?
- I have read the Code of Conduct
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
questionFurther information is requestedFurther information is requested