scaffold_flutter_database
Generate an offline-first Drift (SQLite) database with type-safe table schemas, reactive DAOs, and schema migration routines.
Instructions
Scaffolds an offline-first type-safe Drift (SQLite) database with table schemas, DAOs with reactive streams, and schema version migration routines.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"databaseName": "<databaseName>"
},
"name": "scaffold_flutter_database"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tables | No | Database tables and column definitions. | |
| databaseName | Yes | Name of the database (e.g. 'App', 'Expense', 'Commerce'). | |
| schemaVersion | No | Schema version number. |