Supported types
integerfloatdecimal(precision,scale)booleantexttimestampdatejsonbinaryobject
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Define schema columns for events and snapshots.
integerfloatdecimal(precision,scale)booleantexttimestampdatejsonbinaryobjectdbx schema create person --events person_registered,person_updated --snapshot-threshold 50
dbx schema field person first_name --type text --required
dbx schema field person age --type integer --range-min 0
dbx schema field person status --type text --format snake_case
dbx schema annotate person person_updated --note "Includes PII; keep payload mode minimal for plugins"
dbx schema field person legacy_id --clear-type --clear-rules
dbx schema alter person person_updated --remove legacy_id