tables_db_update_point_column
Modify a point column in an Appwrite database table to adjust requirements, default values, or rename the column for geographic data storage.
Instructions
Update a point 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, array of two numbers [longitude, latitude], representing a single coordinate. Cannot be set when column is required. | |
| new_key | No | New Column Key. |