databases_create_ip_attribute
Add an IP address attribute to a database collection in Appwrite, enabling storage and validation of IP addresses with configurable requirements and default values.
Instructions
Create IP address attribute.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| database_id | Yes | Database ID. | |
| collection_id | Yes | Collection ID. You can create a new collection using the Database service [server integration](https://appwrite.io/docs/server/databases#databasesCreateCollection). | |
| key | Yes | Attribute Key. | |
| required | Yes | Is attribute required? | |
| default | No | Default value for attribute when not provided. Cannot be set when attribute is required. | |
| array | No | Is attribute an array? |