tables_db_update_string_column
Modify a string column in an Appwrite database table to adjust requirements, default values, size limits, or rename the column key.
Instructions
Update a string column. Changing the default value will not update already existing rows.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| database_id | Yes | Database ID. | |
| table_id | Yes | Table ID. You can create a new table using the Database service [server integration](https://appwrite.io/docs/references/cloud/server-dart/tablesDB#createTable). | |
| key | Yes | Column Key. | |
| required | Yes | Is column required? | |
| default | Yes | Default value for column when not provided. Cannot be set when column is required. | |
| size | No | Maximum size of the string column. | |
| new_key | No | New Column Key. |