appwrite-utils-cli
Version:
Appwrite Utility Functions to help with database management, data conversion, data import, migrations, and much more. Meant to be used as a CLI tool, I do not recommend installing this in frontend environments.
37 lines (36 loc) • 776 B
YAML
# yaml-language-server: $schema=../.yaml_schemas/collection.schema.json
# Example Collection Definition
name: ExampleCollection
id: example_collection_1750645834708
documentSecurity: false
enabled: true
permissions:
- permission: read
target: any
- permission: create
target: users
- permission: update
target: users
- permission: delete
target: users
attributes:
- key: title
type: string
size: 255
required: true
description: "The title of the item"
- key: description
type: string
size: 1000
required: false
description: "A longer description"
- key: isActive
type: boolean
required: false
default: true
indexes:
- key: title_search
type: fulltext
attributes:
- title
importDefs: []