tables_db_create_relationship_column
Create a relationship column between tables in Appwrite databases to establish data connections and enforce referential integrity.
Instructions
Create relationship column. Learn more about relationship columns.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| database_id | Yes | Database ID. | |
| table_id | Yes | Table ID. | |
| related_table_id | Yes | Related Table ID. | |
| type | Yes | Relation type | |
| two_way | No | Is Two Way? | |
| key | No | Column Key. | |
| two_way_key | No | Two Way Column Key. | |
| on_delete | No | Constraints option |