add-table
Create and configure a new table in Xano’s database by specifying its name, description, and schema structure. Define field types, constraints, and relationships for organized data management.
Instructions
Add a new table to the Xano database
Input Schema
Name | Required | Description | Default |
---|---|---|---|
description | No | Description of the table | |
name | Yes | Name of the table | |
schema | No | Schema configuration for the table. For foreign key relationships, use type 'int' with tableref_id. Example: { "name": "contact_id", "type": "int", "description": "Reference to contact table", "nullable": false, "required": false, "access": "public", "style": "single", "default": "0", "tableref_id": "100" // ID of the table to reference } |