Add Column to SiYuan Database
av_addColumnAdd columns to SiYuan database attribute views by specifying the view ID, column name, and type. Supports various column types and optional select options for dropdowns.
Instructions
Add a column to an existing database
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| avID | Yes | Attribute View ID | |
| name | Yes | Column name | |
| type | Yes | Column type | |
| options | No | Options for select/mSelect columns | |
| previousKeyID | No | Insert after this column keyID (empty for append) |