Development
Table Schema Generator
Generate SQL table schema definitions
text· Text resultOpen tool
Quick start
Call this tool from your code in three languages.
cURL
curl -X POST 'https://api.elysiatools.com/en/api/tools/table-schema-generator' \
-H 'Content-Type: application/json' \
-d '{"tableName":"Enter table name...","databaseType":"mysql","columns":"[{"name":"id","type":"INT","nullable":false,"primaryKey":true,"autoIncrement":true,"defaultValue":""},{"name":"username","type":"VARCHAR(255)","nullable":false,"primaryKey":false,"autoIncrement":false,"defaultValue":""}]"}'API reference
Send a POST request with your inputs as JSON. File parameters require a separate upload first.
Endpoint
HTTP
POST https://api.elysiatools.com/en/api/tools/table-schema-generatorParameters
| Name | Type | Required | Description |
|---|---|---|---|
| tableName | text | Yes | — |
| databaseType | select | Yes | — |
| columns | textarea | Yes | — |
Response format
Text result
JSON
{
"result": "Processed text content",
"error": "Error message (optional)",
"message": "Notification message (optional)",
"metadata": {
"key": "value"
}
}