Files
soleprint/station/monitors/databrowse/depot/schema.json
2025-12-31 08:34:18 -03:00

28 lines
835 B
JSON

{
"name": "example",
"description": "Example schema for databrowse. Replace with room-specific schema.",
"tables": {
"users": {
"description": "Example users table",
"columns": {
"id": { "type": "integer", "primary_key": true },
"username": { "type": "string" },
"email": { "type": "string" },
"is_active": { "type": "boolean" },
"created_at": { "type": "datetime" }
}
},
"items": {
"description": "Example items table",
"columns": {
"id": { "type": "integer", "primary_key": true },
"name": { "type": "string" },
"description": { "type": "text" },
"user_id": { "type": "integer", "foreign_key": "users.id" },
"status": { "type": "string" },
"created_at": { "type": "datetime" }
}
}
}
}