tables_db_update_line_column
Modify a line column's properties in an Appwrite database table, including requirements, default values, or column key, without affecting existing row data.
Instructions
Update a line column. Changing the default value will not update already existing rows.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| database_id | Yes | Database ID. | |
| table_id | Yes | Table ID. You can create a new table using the TablesDB service [server integration](https://appwrite.io/docs/references/cloud/server-dart/tablesDB#createTable). | |
| key | Yes | Column Key. | |
| required | Yes | Is column required? | |
| default | No | Default value for column when not provided, two-dimensional array of coordinate pairs, [[longitude, latitude], [longitude, latitude], …], listing the vertices of the line in order. Cannot be set when column is required. | |
| new_key | No | New Column Key. |