166052012d
remarkSplitBlocks was splicing after-break paragraphs onto the root tree, which dropped content inside list items and other nested parents. Insert the split sibling into the actual parent instead. Also store timestamps as timestamptz so Drizzle no longer treats naive timestamp values as UTC and shifts displayed times by the server offset.
2757 lines
60 KiB
JSON
2757 lines
60 KiB
JSON
{
|
|
"id": "5d8d6933-f7ce-4ae6-8f9b-4bfb111b7cbe",
|
|
"prevIds": [
|
|
"86f4ad6f-b5a5-4a77-b733-661f9cfdf67d"
|
|
],
|
|
"version": "8",
|
|
"dialect": "postgres",
|
|
"ddl": [
|
|
{
|
|
"values": [
|
|
"reasoning",
|
|
"text",
|
|
"tool-call",
|
|
"file"
|
|
],
|
|
"name": "part_type",
|
|
"entityType": "enums",
|
|
"schema": "public"
|
|
},
|
|
{
|
|
"values": [
|
|
"user",
|
|
"assistant"
|
|
],
|
|
"name": "role",
|
|
"entityType": "enums",
|
|
"schema": "public"
|
|
},
|
|
{
|
|
"values": [
|
|
"pending",
|
|
"completed",
|
|
"failed",
|
|
"cancelled"
|
|
],
|
|
"name": "status",
|
|
"entityType": "enums",
|
|
"schema": "public"
|
|
},
|
|
{
|
|
"isRlsEnabled": false,
|
|
"name": "accounts",
|
|
"entityType": "tables",
|
|
"schema": "public"
|
|
},
|
|
{
|
|
"isRlsEnabled": false,
|
|
"name": "agents",
|
|
"entityType": "tables",
|
|
"schema": "public"
|
|
},
|
|
{
|
|
"isRlsEnabled": false,
|
|
"name": "attachments",
|
|
"entityType": "tables",
|
|
"schema": "public"
|
|
},
|
|
{
|
|
"isRlsEnabled": false,
|
|
"name": "embeddings",
|
|
"entityType": "tables",
|
|
"schema": "public"
|
|
},
|
|
{
|
|
"isRlsEnabled": false,
|
|
"name": "files",
|
|
"entityType": "tables",
|
|
"schema": "public"
|
|
},
|
|
{
|
|
"isRlsEnabled": false,
|
|
"name": "generations",
|
|
"entityType": "tables",
|
|
"schema": "public"
|
|
},
|
|
{
|
|
"isRlsEnabled": false,
|
|
"name": "message_parts",
|
|
"entityType": "tables",
|
|
"schema": "public"
|
|
},
|
|
{
|
|
"isRlsEnabled": false,
|
|
"name": "messages",
|
|
"entityType": "tables",
|
|
"schema": "public"
|
|
},
|
|
{
|
|
"isRlsEnabled": false,
|
|
"name": "models",
|
|
"entityType": "tables",
|
|
"schema": "public"
|
|
},
|
|
{
|
|
"isRlsEnabled": false,
|
|
"name": "providers",
|
|
"entityType": "tables",
|
|
"schema": "public"
|
|
},
|
|
{
|
|
"isRlsEnabled": false,
|
|
"name": "sessions",
|
|
"entityType": "tables",
|
|
"schema": "public"
|
|
},
|
|
{
|
|
"isRlsEnabled": false,
|
|
"name": "settings",
|
|
"entityType": "tables",
|
|
"schema": "public"
|
|
},
|
|
{
|
|
"isRlsEnabled": false,
|
|
"name": "tool_calls",
|
|
"entityType": "tables",
|
|
"schema": "public"
|
|
},
|
|
{
|
|
"isRlsEnabled": false,
|
|
"name": "topics",
|
|
"entityType": "tables",
|
|
"schema": "public"
|
|
},
|
|
{
|
|
"isRlsEnabled": false,
|
|
"name": "users",
|
|
"entityType": "tables",
|
|
"schema": "public"
|
|
},
|
|
{
|
|
"isRlsEnabled": false,
|
|
"name": "verifications",
|
|
"entityType": "tables",
|
|
"schema": "public"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "id",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "accounts"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "account_id",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "accounts"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "provider_id",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "accounts"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "user_id",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "accounts"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "access_token",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "accounts"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "refresh_token",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "accounts"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "id_token",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "accounts"
|
|
},
|
|
{
|
|
"type": "timestamptz",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "access_token_expires_at",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "accounts"
|
|
},
|
|
{
|
|
"type": "timestamptz",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "refresh_token_expires_at",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "accounts"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "scope",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "accounts"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "password",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "accounts"
|
|
},
|
|
{
|
|
"type": "timestamptz",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "now()",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "created_at",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "accounts"
|
|
},
|
|
{
|
|
"type": "timestamptz",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "updated_at",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "accounts"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "id",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "agents"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "user_id",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "agents"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "name",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "agents"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "system_prompt",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "agents"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "image_url",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "agents"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "default_model_id",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "agents"
|
|
},
|
|
{
|
|
"type": "jsonb",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": "'{}'",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "config",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "agents"
|
|
},
|
|
{
|
|
"type": "timestamptz",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "now()",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "created_at",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "agents"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "id",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "attachments"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "user_id",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "attachments"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "topic_id",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "attachments"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "message_id",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "attachments"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "file_id",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "attachments"
|
|
},
|
|
{
|
|
"type": "timestamptz",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "now()",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "created_at",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "attachments"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "id",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "embeddings"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "file_id",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "embeddings"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "content",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "embeddings"
|
|
},
|
|
{
|
|
"type": "vector(1536)",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "embedding",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "embeddings"
|
|
},
|
|
{
|
|
"type": "jsonb",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "metadata",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "embeddings"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "id",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "files"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "user_id",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "files"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "name",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "files"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "mime_type",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "files"
|
|
},
|
|
{
|
|
"type": "integer",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "0",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "size",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "files"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "url",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "files"
|
|
},
|
|
{
|
|
"type": "timestamptz",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "now()",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "created_at",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "files"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "id",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "generations"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "user_id",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "generations"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "topic_id",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "generations"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "model_id",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "generations"
|
|
},
|
|
{
|
|
"type": "status",
|
|
"typeSchema": "public",
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "status",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "generations"
|
|
},
|
|
{
|
|
"type": "jsonb",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "tokens",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "generations"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "error",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "generations"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "id",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "message_parts"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "user_id",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "message_parts"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "topic_id",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "message_parts"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "message_id",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "message_parts"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "tool_call_id",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "message_parts"
|
|
},
|
|
{
|
|
"type": "part_type",
|
|
"typeSchema": "public",
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "type",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "message_parts"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "content",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "message_parts"
|
|
},
|
|
{
|
|
"type": "jsonb",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "provider_options",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "message_parts"
|
|
},
|
|
{
|
|
"type": "boolean",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "false",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "finished",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "message_parts"
|
|
},
|
|
{
|
|
"type": "timestamptz",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "now()",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "created_at",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "message_parts"
|
|
},
|
|
{
|
|
"type": "timestamptz",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "now()",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "last_updated_at",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "message_parts"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "id",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "messages"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "user_id",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "messages"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "topic_id",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "messages"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "parent_message_id",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "messages"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "generation_id",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "messages"
|
|
},
|
|
{
|
|
"type": "role",
|
|
"typeSchema": "public",
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "role",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "messages"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "content",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "messages"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "active_child_id",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "messages"
|
|
},
|
|
{
|
|
"type": "boolean",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": "false",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "deleted",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "messages"
|
|
},
|
|
{
|
|
"type": "timestamptz",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "now()",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "updated_at",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "messages"
|
|
},
|
|
{
|
|
"type": "timestamptz",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "now()",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "created_at",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "messages"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "id",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "models"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "user_id",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "models"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "external_id",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "models"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "provider_id",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "models"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "name",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "models"
|
|
},
|
|
{
|
|
"type": "jsonb",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "'{}'",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "cost",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "models"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 1,
|
|
"default": "'{}'",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "input_modalities",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "models"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 1,
|
|
"default": "'{}'",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "output_modalities",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "models"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 1,
|
|
"default": "'{}'",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "capabilities",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "models"
|
|
},
|
|
{
|
|
"type": "integer",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "context_window",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "models"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 1,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "supported_parameters",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "models"
|
|
},
|
|
{
|
|
"type": "boolean",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "false",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "is_custom",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "models"
|
|
},
|
|
{
|
|
"type": "boolean",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "true",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "enabled",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "models"
|
|
},
|
|
{
|
|
"type": "timestamptz",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "released_at",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "models"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "id",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "providers"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "user_id",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "providers"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "type",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "providers"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "name",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "providers"
|
|
},
|
|
{
|
|
"type": "boolean",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "true",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "enabled",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "providers"
|
|
},
|
|
{
|
|
"type": "jsonb",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "'{}'",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "config",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "providers"
|
|
},
|
|
{
|
|
"type": "timestamptz",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "now()",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "created_at",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "providers"
|
|
},
|
|
{
|
|
"type": "timestamptz",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "now()",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "updated_at",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "providers"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "id",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "sessions"
|
|
},
|
|
{
|
|
"type": "timestamptz",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "expires_at",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "sessions"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "token",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "sessions"
|
|
},
|
|
{
|
|
"type": "timestamptz",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "now()",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "created_at",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "sessions"
|
|
},
|
|
{
|
|
"type": "timestamptz",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "updated_at",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "sessions"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "ip_address",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "sessions"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "user_agent",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "sessions"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "user_id",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "sessions"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "id",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "settings"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "user_id",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "settings"
|
|
},
|
|
{
|
|
"type": "jsonb",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "'{}'",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "system_assistants",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "settings"
|
|
},
|
|
{
|
|
"type": "jsonb",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "appearance",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "settings"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "id",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "tool_calls"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "user_id",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "tool_calls"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "tool_name",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "tool_calls"
|
|
},
|
|
{
|
|
"type": "status",
|
|
"typeSchema": "public",
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "'pending'",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "status",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "tool_calls"
|
|
},
|
|
{
|
|
"type": "jsonb",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "input",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "tool_calls"
|
|
},
|
|
{
|
|
"type": "jsonb",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "output",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "tool_calls"
|
|
},
|
|
{
|
|
"type": "jsonb",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "error",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "tool_calls"
|
|
},
|
|
{
|
|
"type": "timestamptz",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "now()",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "created_at",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "tool_calls"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "id",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "topics"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "user_id",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "topics"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "agent_id",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "topics"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "name",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "topics"
|
|
},
|
|
{
|
|
"type": "boolean",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": "false",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "renaming",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "topics"
|
|
},
|
|
{
|
|
"type": "timestamptz",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "now()",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "created_at",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "topics"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "id",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "users"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "name",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "users"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "email",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "users"
|
|
},
|
|
{
|
|
"type": "boolean",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "false",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "email_verified",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "users"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": false,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "image",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "users"
|
|
},
|
|
{
|
|
"type": "timestamptz",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "now()",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "created_at",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "users"
|
|
},
|
|
{
|
|
"type": "timestamptz",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "now()",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "updated_at",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "users"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "id",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "verifications"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "identifier",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "verifications"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "value",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "verifications"
|
|
},
|
|
{
|
|
"type": "timestamptz",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": null,
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "expires_at",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "verifications"
|
|
},
|
|
{
|
|
"type": "timestamptz",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "now()",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "created_at",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "verifications"
|
|
},
|
|
{
|
|
"type": "timestamptz",
|
|
"typeSchema": null,
|
|
"notNull": true,
|
|
"dimensions": 0,
|
|
"default": "now()",
|
|
"generated": null,
|
|
"identity": null,
|
|
"name": "updated_at",
|
|
"entityType": "columns",
|
|
"schema": "public",
|
|
"table": "verifications"
|
|
},
|
|
{
|
|
"nameExplicit": true,
|
|
"columns": [
|
|
{
|
|
"value": "user_id",
|
|
"isExpression": false,
|
|
"asc": true,
|
|
"nullsFirst": false,
|
|
"opclass": null
|
|
}
|
|
],
|
|
"isUnique": false,
|
|
"where": null,
|
|
"with": "",
|
|
"method": "btree",
|
|
"concurrently": false,
|
|
"name": "accounts_userId_idx",
|
|
"entityType": "indexes",
|
|
"schema": "public",
|
|
"table": "accounts"
|
|
},
|
|
{
|
|
"nameExplicit": true,
|
|
"columns": [
|
|
{
|
|
"value": "user_id",
|
|
"isExpression": false,
|
|
"asc": true,
|
|
"nullsFirst": false,
|
|
"opclass": null
|
|
}
|
|
],
|
|
"isUnique": false,
|
|
"where": null,
|
|
"with": "",
|
|
"method": "btree",
|
|
"concurrently": false,
|
|
"name": "agents_userId_idx",
|
|
"entityType": "indexes",
|
|
"schema": "public",
|
|
"table": "agents"
|
|
},
|
|
{
|
|
"nameExplicit": true,
|
|
"columns": [
|
|
{
|
|
"value": "topic_id",
|
|
"isExpression": false,
|
|
"asc": true,
|
|
"nullsFirst": false,
|
|
"opclass": null
|
|
}
|
|
],
|
|
"isUnique": false,
|
|
"where": null,
|
|
"with": "",
|
|
"method": "btree",
|
|
"concurrently": false,
|
|
"name": "attachments_topicId_idx",
|
|
"entityType": "indexes",
|
|
"schema": "public",
|
|
"table": "attachments"
|
|
},
|
|
{
|
|
"nameExplicit": true,
|
|
"columns": [
|
|
{
|
|
"value": "message_id",
|
|
"isExpression": false,
|
|
"asc": true,
|
|
"nullsFirst": false,
|
|
"opclass": null
|
|
}
|
|
],
|
|
"isUnique": false,
|
|
"where": null,
|
|
"with": "",
|
|
"method": "btree",
|
|
"concurrently": false,
|
|
"name": "attachments_messageId_idx",
|
|
"entityType": "indexes",
|
|
"schema": "public",
|
|
"table": "attachments"
|
|
},
|
|
{
|
|
"nameExplicit": true,
|
|
"columns": [
|
|
{
|
|
"value": "user_id",
|
|
"isExpression": false,
|
|
"asc": true,
|
|
"nullsFirst": false,
|
|
"opclass": null
|
|
}
|
|
],
|
|
"isUnique": false,
|
|
"where": null,
|
|
"with": "",
|
|
"method": "btree",
|
|
"concurrently": false,
|
|
"name": "attachments_userId_idx",
|
|
"entityType": "indexes",
|
|
"schema": "public",
|
|
"table": "attachments"
|
|
},
|
|
{
|
|
"nameExplicit": true,
|
|
"columns": [
|
|
{
|
|
"value": "file_id",
|
|
"isExpression": false,
|
|
"asc": true,
|
|
"nullsFirst": false,
|
|
"opclass": null
|
|
}
|
|
],
|
|
"isUnique": false,
|
|
"where": null,
|
|
"with": "",
|
|
"method": "btree",
|
|
"concurrently": false,
|
|
"name": "embeddings_fileId_idx",
|
|
"entityType": "indexes",
|
|
"schema": "public",
|
|
"table": "embeddings"
|
|
},
|
|
{
|
|
"nameExplicit": true,
|
|
"columns": [
|
|
{
|
|
"value": "user_id",
|
|
"isExpression": false,
|
|
"asc": true,
|
|
"nullsFirst": false,
|
|
"opclass": null
|
|
}
|
|
],
|
|
"isUnique": false,
|
|
"where": null,
|
|
"with": "",
|
|
"method": "btree",
|
|
"concurrently": false,
|
|
"name": "files_userId_idx",
|
|
"entityType": "indexes",
|
|
"schema": "public",
|
|
"table": "files"
|
|
},
|
|
{
|
|
"nameExplicit": true,
|
|
"columns": [
|
|
{
|
|
"value": "topic_id",
|
|
"isExpression": false,
|
|
"asc": true,
|
|
"nullsFirst": false,
|
|
"opclass": null
|
|
}
|
|
],
|
|
"isUnique": false,
|
|
"where": null,
|
|
"with": "",
|
|
"method": "btree",
|
|
"concurrently": false,
|
|
"name": "generations_topicId_idx",
|
|
"entityType": "indexes",
|
|
"schema": "public",
|
|
"table": "generations"
|
|
},
|
|
{
|
|
"nameExplicit": true,
|
|
"columns": [
|
|
{
|
|
"value": "user_id",
|
|
"isExpression": false,
|
|
"asc": true,
|
|
"nullsFirst": false,
|
|
"opclass": null
|
|
}
|
|
],
|
|
"isUnique": false,
|
|
"where": null,
|
|
"with": "",
|
|
"method": "btree",
|
|
"concurrently": false,
|
|
"name": "generations_userId_idx",
|
|
"entityType": "indexes",
|
|
"schema": "public",
|
|
"table": "generations"
|
|
},
|
|
{
|
|
"nameExplicit": true,
|
|
"columns": [
|
|
{
|
|
"value": "topic_id",
|
|
"isExpression": false,
|
|
"asc": true,
|
|
"nullsFirst": false,
|
|
"opclass": null
|
|
}
|
|
],
|
|
"isUnique": false,
|
|
"where": null,
|
|
"with": "",
|
|
"method": "btree",
|
|
"concurrently": false,
|
|
"name": "message_parts_topicId_idx",
|
|
"entityType": "indexes",
|
|
"schema": "public",
|
|
"table": "message_parts"
|
|
},
|
|
{
|
|
"nameExplicit": true,
|
|
"columns": [
|
|
{
|
|
"value": "message_id",
|
|
"isExpression": false,
|
|
"asc": true,
|
|
"nullsFirst": false,
|
|
"opclass": null
|
|
}
|
|
],
|
|
"isUnique": false,
|
|
"where": null,
|
|
"with": "",
|
|
"method": "btree",
|
|
"concurrently": false,
|
|
"name": "message_parts_messageId_idx",
|
|
"entityType": "indexes",
|
|
"schema": "public",
|
|
"table": "message_parts"
|
|
},
|
|
{
|
|
"nameExplicit": true,
|
|
"columns": [
|
|
{
|
|
"value": "user_id",
|
|
"isExpression": false,
|
|
"asc": true,
|
|
"nullsFirst": false,
|
|
"opclass": null
|
|
}
|
|
],
|
|
"isUnique": false,
|
|
"where": null,
|
|
"with": "",
|
|
"method": "btree",
|
|
"concurrently": false,
|
|
"name": "message_parts_userId_idx",
|
|
"entityType": "indexes",
|
|
"schema": "public",
|
|
"table": "message_parts"
|
|
},
|
|
{
|
|
"nameExplicit": true,
|
|
"columns": [
|
|
{
|
|
"value": "topic_id",
|
|
"isExpression": false,
|
|
"asc": true,
|
|
"nullsFirst": false,
|
|
"opclass": null
|
|
}
|
|
],
|
|
"isUnique": false,
|
|
"where": null,
|
|
"with": "",
|
|
"method": "btree",
|
|
"concurrently": false,
|
|
"name": "messages_topicId_idx",
|
|
"entityType": "indexes",
|
|
"schema": "public",
|
|
"table": "messages"
|
|
},
|
|
{
|
|
"nameExplicit": true,
|
|
"columns": [
|
|
{
|
|
"value": "parent_message_id",
|
|
"isExpression": false,
|
|
"asc": true,
|
|
"nullsFirst": false,
|
|
"opclass": null
|
|
}
|
|
],
|
|
"isUnique": false,
|
|
"where": null,
|
|
"with": "",
|
|
"method": "btree",
|
|
"concurrently": false,
|
|
"name": "messages_parentMessageId_idx",
|
|
"entityType": "indexes",
|
|
"schema": "public",
|
|
"table": "messages"
|
|
},
|
|
{
|
|
"nameExplicit": true,
|
|
"columns": [
|
|
{
|
|
"value": "user_id",
|
|
"isExpression": false,
|
|
"asc": true,
|
|
"nullsFirst": false,
|
|
"opclass": null
|
|
}
|
|
],
|
|
"isUnique": false,
|
|
"where": null,
|
|
"with": "",
|
|
"method": "btree",
|
|
"concurrently": false,
|
|
"name": "messages_userId_idx",
|
|
"entityType": "indexes",
|
|
"schema": "public",
|
|
"table": "messages"
|
|
},
|
|
{
|
|
"nameExplicit": true,
|
|
"columns": [
|
|
{
|
|
"value": "provider_id",
|
|
"isExpression": false,
|
|
"asc": true,
|
|
"nullsFirst": false,
|
|
"opclass": null
|
|
}
|
|
],
|
|
"isUnique": false,
|
|
"where": null,
|
|
"with": "",
|
|
"method": "btree",
|
|
"concurrently": false,
|
|
"name": "models_providerId_idx",
|
|
"entityType": "indexes",
|
|
"schema": "public",
|
|
"table": "models"
|
|
},
|
|
{
|
|
"nameExplicit": true,
|
|
"columns": [
|
|
{
|
|
"value": "user_id",
|
|
"isExpression": false,
|
|
"asc": true,
|
|
"nullsFirst": false,
|
|
"opclass": null
|
|
}
|
|
],
|
|
"isUnique": false,
|
|
"where": null,
|
|
"with": "",
|
|
"method": "btree",
|
|
"concurrently": false,
|
|
"name": "models_userId_idx",
|
|
"entityType": "indexes",
|
|
"schema": "public",
|
|
"table": "models"
|
|
},
|
|
{
|
|
"nameExplicit": true,
|
|
"columns": [
|
|
{
|
|
"value": "user_id",
|
|
"isExpression": false,
|
|
"asc": true,
|
|
"nullsFirst": false,
|
|
"opclass": null
|
|
}
|
|
],
|
|
"isUnique": false,
|
|
"where": null,
|
|
"with": "",
|
|
"method": "btree",
|
|
"concurrently": false,
|
|
"name": "providers_userId_idx",
|
|
"entityType": "indexes",
|
|
"schema": "public",
|
|
"table": "providers"
|
|
},
|
|
{
|
|
"nameExplicit": true,
|
|
"columns": [
|
|
{
|
|
"value": "user_id",
|
|
"isExpression": false,
|
|
"asc": true,
|
|
"nullsFirst": false,
|
|
"opclass": null
|
|
}
|
|
],
|
|
"isUnique": false,
|
|
"where": null,
|
|
"with": "",
|
|
"method": "btree",
|
|
"concurrently": false,
|
|
"name": "sessions_userId_idx",
|
|
"entityType": "indexes",
|
|
"schema": "public",
|
|
"table": "sessions"
|
|
},
|
|
{
|
|
"nameExplicit": true,
|
|
"columns": [
|
|
{
|
|
"value": "user_id",
|
|
"isExpression": false,
|
|
"asc": true,
|
|
"nullsFirst": false,
|
|
"opclass": null
|
|
}
|
|
],
|
|
"isUnique": false,
|
|
"where": null,
|
|
"with": "",
|
|
"method": "btree",
|
|
"concurrently": false,
|
|
"name": "settings_userId_idx",
|
|
"entityType": "indexes",
|
|
"schema": "public",
|
|
"table": "settings"
|
|
},
|
|
{
|
|
"nameExplicit": true,
|
|
"columns": [
|
|
{
|
|
"value": "user_id",
|
|
"isExpression": false,
|
|
"asc": true,
|
|
"nullsFirst": false,
|
|
"opclass": null
|
|
}
|
|
],
|
|
"isUnique": false,
|
|
"where": null,
|
|
"with": "",
|
|
"method": "btree",
|
|
"concurrently": false,
|
|
"name": "tool_calls_userId_idx",
|
|
"entityType": "indexes",
|
|
"schema": "public",
|
|
"table": "tool_calls"
|
|
},
|
|
{
|
|
"nameExplicit": true,
|
|
"columns": [
|
|
{
|
|
"value": "agent_id",
|
|
"isExpression": false,
|
|
"asc": true,
|
|
"nullsFirst": false,
|
|
"opclass": null
|
|
}
|
|
],
|
|
"isUnique": false,
|
|
"where": null,
|
|
"with": "",
|
|
"method": "btree",
|
|
"concurrently": false,
|
|
"name": "topics_agentId_idx",
|
|
"entityType": "indexes",
|
|
"schema": "public",
|
|
"table": "topics"
|
|
},
|
|
{
|
|
"nameExplicit": true,
|
|
"columns": [
|
|
{
|
|
"value": "user_id",
|
|
"isExpression": false,
|
|
"asc": true,
|
|
"nullsFirst": false,
|
|
"opclass": null
|
|
}
|
|
],
|
|
"isUnique": false,
|
|
"where": null,
|
|
"with": "",
|
|
"method": "btree",
|
|
"concurrently": false,
|
|
"name": "topics_userId_idx",
|
|
"entityType": "indexes",
|
|
"schema": "public",
|
|
"table": "topics"
|
|
},
|
|
{
|
|
"nameExplicit": true,
|
|
"columns": [
|
|
{
|
|
"value": "identifier",
|
|
"isExpression": false,
|
|
"asc": true,
|
|
"nullsFirst": false,
|
|
"opclass": null
|
|
}
|
|
],
|
|
"isUnique": false,
|
|
"where": null,
|
|
"with": "",
|
|
"method": "btree",
|
|
"concurrently": false,
|
|
"name": "verifications_identifier_idx",
|
|
"entityType": "indexes",
|
|
"schema": "public",
|
|
"table": "verifications"
|
|
},
|
|
{
|
|
"nameExplicit": false,
|
|
"columns": [
|
|
"user_id"
|
|
],
|
|
"schemaTo": "public",
|
|
"tableTo": "users",
|
|
"columnsTo": [
|
|
"id"
|
|
],
|
|
"onUpdate": "NO ACTION",
|
|
"onDelete": "CASCADE",
|
|
"name": "accounts_user_id_users_id_fkey",
|
|
"entityType": "fks",
|
|
"schema": "public",
|
|
"table": "accounts"
|
|
},
|
|
{
|
|
"nameExplicit": false,
|
|
"columns": [
|
|
"default_model_id"
|
|
],
|
|
"schemaTo": "public",
|
|
"tableTo": "models",
|
|
"columnsTo": [
|
|
"id"
|
|
],
|
|
"onUpdate": "NO ACTION",
|
|
"onDelete": "SET NULL",
|
|
"name": "agents_default_model_id_models_id_fkey",
|
|
"entityType": "fks",
|
|
"schema": "public",
|
|
"table": "agents"
|
|
},
|
|
{
|
|
"nameExplicit": false,
|
|
"columns": [
|
|
"topic_id"
|
|
],
|
|
"schemaTo": "public",
|
|
"tableTo": "topics",
|
|
"columnsTo": [
|
|
"id"
|
|
],
|
|
"onUpdate": "NO ACTION",
|
|
"onDelete": "CASCADE",
|
|
"name": "attachments_topic_id_topics_id_fkey",
|
|
"entityType": "fks",
|
|
"schema": "public",
|
|
"table": "attachments"
|
|
},
|
|
{
|
|
"nameExplicit": false,
|
|
"columns": [
|
|
"message_id"
|
|
],
|
|
"schemaTo": "public",
|
|
"tableTo": "messages",
|
|
"columnsTo": [
|
|
"id"
|
|
],
|
|
"onUpdate": "NO ACTION",
|
|
"onDelete": "CASCADE",
|
|
"name": "attachments_message_id_messages_id_fkey",
|
|
"entityType": "fks",
|
|
"schema": "public",
|
|
"table": "attachments"
|
|
},
|
|
{
|
|
"nameExplicit": false,
|
|
"columns": [
|
|
"file_id"
|
|
],
|
|
"schemaTo": "public",
|
|
"tableTo": "files",
|
|
"columnsTo": [
|
|
"id"
|
|
],
|
|
"onUpdate": "NO ACTION",
|
|
"onDelete": "CASCADE",
|
|
"name": "attachments_file_id_files_id_fkey",
|
|
"entityType": "fks",
|
|
"schema": "public",
|
|
"table": "attachments"
|
|
},
|
|
{
|
|
"nameExplicit": false,
|
|
"columns": [
|
|
"file_id"
|
|
],
|
|
"schemaTo": "public",
|
|
"tableTo": "files",
|
|
"columnsTo": [
|
|
"id"
|
|
],
|
|
"onUpdate": "NO ACTION",
|
|
"onDelete": "CASCADE",
|
|
"name": "embeddings_file_id_files_id_fkey",
|
|
"entityType": "fks",
|
|
"schema": "public",
|
|
"table": "embeddings"
|
|
},
|
|
{
|
|
"nameExplicit": false,
|
|
"columns": [
|
|
"topic_id"
|
|
],
|
|
"schemaTo": "public",
|
|
"tableTo": "topics",
|
|
"columnsTo": [
|
|
"id"
|
|
],
|
|
"onUpdate": "NO ACTION",
|
|
"onDelete": "CASCADE",
|
|
"name": "generations_topic_id_topics_id_fkey",
|
|
"entityType": "fks",
|
|
"schema": "public",
|
|
"table": "generations"
|
|
},
|
|
{
|
|
"nameExplicit": false,
|
|
"columns": [
|
|
"topic_id"
|
|
],
|
|
"schemaTo": "public",
|
|
"tableTo": "topics",
|
|
"columnsTo": [
|
|
"id"
|
|
],
|
|
"onUpdate": "NO ACTION",
|
|
"onDelete": "CASCADE",
|
|
"name": "message_parts_topic_id_topics_id_fkey",
|
|
"entityType": "fks",
|
|
"schema": "public",
|
|
"table": "message_parts"
|
|
},
|
|
{
|
|
"nameExplicit": false,
|
|
"columns": [
|
|
"message_id"
|
|
],
|
|
"schemaTo": "public",
|
|
"tableTo": "messages",
|
|
"columnsTo": [
|
|
"id"
|
|
],
|
|
"onUpdate": "NO ACTION",
|
|
"onDelete": "CASCADE",
|
|
"name": "message_parts_message_id_messages_id_fkey",
|
|
"entityType": "fks",
|
|
"schema": "public",
|
|
"table": "message_parts"
|
|
},
|
|
{
|
|
"nameExplicit": false,
|
|
"columns": [
|
|
"tool_call_id"
|
|
],
|
|
"schemaTo": "public",
|
|
"tableTo": "tool_calls",
|
|
"columnsTo": [
|
|
"id"
|
|
],
|
|
"onUpdate": "NO ACTION",
|
|
"onDelete": "CASCADE",
|
|
"name": "message_parts_tool_call_id_tool_calls_id_fkey",
|
|
"entityType": "fks",
|
|
"schema": "public",
|
|
"table": "message_parts"
|
|
},
|
|
{
|
|
"nameExplicit": false,
|
|
"columns": [
|
|
"topic_id"
|
|
],
|
|
"schemaTo": "public",
|
|
"tableTo": "topics",
|
|
"columnsTo": [
|
|
"id"
|
|
],
|
|
"onUpdate": "NO ACTION",
|
|
"onDelete": "CASCADE",
|
|
"name": "messages_topic_id_topics_id_fkey",
|
|
"entityType": "fks",
|
|
"schema": "public",
|
|
"table": "messages"
|
|
},
|
|
{
|
|
"nameExplicit": false,
|
|
"columns": [
|
|
"generation_id"
|
|
],
|
|
"schemaTo": "public",
|
|
"tableTo": "generations",
|
|
"columnsTo": [
|
|
"id"
|
|
],
|
|
"onUpdate": "NO ACTION",
|
|
"onDelete": "CASCADE",
|
|
"name": "messages_generation_id_generations_id_fkey",
|
|
"entityType": "fks",
|
|
"schema": "public",
|
|
"table": "messages"
|
|
},
|
|
{
|
|
"nameExplicit": false,
|
|
"columns": [
|
|
"provider_id"
|
|
],
|
|
"schemaTo": "public",
|
|
"tableTo": "providers",
|
|
"columnsTo": [
|
|
"id"
|
|
],
|
|
"onUpdate": "NO ACTION",
|
|
"onDelete": "CASCADE",
|
|
"name": "models_provider_id_providers_id_fkey",
|
|
"entityType": "fks",
|
|
"schema": "public",
|
|
"table": "models"
|
|
},
|
|
{
|
|
"nameExplicit": false,
|
|
"columns": [
|
|
"user_id"
|
|
],
|
|
"schemaTo": "public",
|
|
"tableTo": "users",
|
|
"columnsTo": [
|
|
"id"
|
|
],
|
|
"onUpdate": "NO ACTION",
|
|
"onDelete": "CASCADE",
|
|
"name": "sessions_user_id_users_id_fkey",
|
|
"entityType": "fks",
|
|
"schema": "public",
|
|
"table": "sessions"
|
|
},
|
|
{
|
|
"nameExplicit": false,
|
|
"columns": [
|
|
"agent_id"
|
|
],
|
|
"schemaTo": "public",
|
|
"tableTo": "agents",
|
|
"columnsTo": [
|
|
"id"
|
|
],
|
|
"onUpdate": "NO ACTION",
|
|
"onDelete": "CASCADE",
|
|
"name": "topics_agent_id_agents_id_fkey",
|
|
"entityType": "fks",
|
|
"schema": "public",
|
|
"table": "topics"
|
|
},
|
|
{
|
|
"columns": [
|
|
"id"
|
|
],
|
|
"nameExplicit": false,
|
|
"name": "accounts_pkey",
|
|
"schema": "public",
|
|
"table": "accounts",
|
|
"entityType": "pks"
|
|
},
|
|
{
|
|
"columns": [
|
|
"id"
|
|
],
|
|
"nameExplicit": false,
|
|
"name": "agents_pkey",
|
|
"schema": "public",
|
|
"table": "agents",
|
|
"entityType": "pks"
|
|
},
|
|
{
|
|
"columns": [
|
|
"id"
|
|
],
|
|
"nameExplicit": false,
|
|
"name": "attachments_pkey",
|
|
"schema": "public",
|
|
"table": "attachments",
|
|
"entityType": "pks"
|
|
},
|
|
{
|
|
"columns": [
|
|
"id"
|
|
],
|
|
"nameExplicit": false,
|
|
"name": "embeddings_pkey",
|
|
"schema": "public",
|
|
"table": "embeddings",
|
|
"entityType": "pks"
|
|
},
|
|
{
|
|
"columns": [
|
|
"id"
|
|
],
|
|
"nameExplicit": false,
|
|
"name": "files_pkey",
|
|
"schema": "public",
|
|
"table": "files",
|
|
"entityType": "pks"
|
|
},
|
|
{
|
|
"columns": [
|
|
"id"
|
|
],
|
|
"nameExplicit": false,
|
|
"name": "generations_pkey",
|
|
"schema": "public",
|
|
"table": "generations",
|
|
"entityType": "pks"
|
|
},
|
|
{
|
|
"columns": [
|
|
"id"
|
|
],
|
|
"nameExplicit": false,
|
|
"name": "message_parts_pkey",
|
|
"schema": "public",
|
|
"table": "message_parts",
|
|
"entityType": "pks"
|
|
},
|
|
{
|
|
"columns": [
|
|
"id"
|
|
],
|
|
"nameExplicit": false,
|
|
"name": "messages_pkey",
|
|
"schema": "public",
|
|
"table": "messages",
|
|
"entityType": "pks"
|
|
},
|
|
{
|
|
"columns": [
|
|
"id"
|
|
],
|
|
"nameExplicit": false,
|
|
"name": "models_pkey",
|
|
"schema": "public",
|
|
"table": "models",
|
|
"entityType": "pks"
|
|
},
|
|
{
|
|
"columns": [
|
|
"id"
|
|
],
|
|
"nameExplicit": false,
|
|
"name": "providers_pkey",
|
|
"schema": "public",
|
|
"table": "providers",
|
|
"entityType": "pks"
|
|
},
|
|
{
|
|
"columns": [
|
|
"id"
|
|
],
|
|
"nameExplicit": false,
|
|
"name": "sessions_pkey",
|
|
"schema": "public",
|
|
"table": "sessions",
|
|
"entityType": "pks"
|
|
},
|
|
{
|
|
"columns": [
|
|
"id"
|
|
],
|
|
"nameExplicit": false,
|
|
"name": "settings_pkey",
|
|
"schema": "public",
|
|
"table": "settings",
|
|
"entityType": "pks"
|
|
},
|
|
{
|
|
"columns": [
|
|
"id"
|
|
],
|
|
"nameExplicit": false,
|
|
"name": "tool_calls_pkey",
|
|
"schema": "public",
|
|
"table": "tool_calls",
|
|
"entityType": "pks"
|
|
},
|
|
{
|
|
"columns": [
|
|
"id"
|
|
],
|
|
"nameExplicit": false,
|
|
"name": "topics_pkey",
|
|
"schema": "public",
|
|
"table": "topics",
|
|
"entityType": "pks"
|
|
},
|
|
{
|
|
"columns": [
|
|
"id"
|
|
],
|
|
"nameExplicit": false,
|
|
"name": "users_pkey",
|
|
"schema": "public",
|
|
"table": "users",
|
|
"entityType": "pks"
|
|
},
|
|
{
|
|
"columns": [
|
|
"id"
|
|
],
|
|
"nameExplicit": false,
|
|
"name": "verifications_pkey",
|
|
"schema": "public",
|
|
"table": "verifications",
|
|
"entityType": "pks"
|
|
},
|
|
{
|
|
"nameExplicit": false,
|
|
"columns": [
|
|
"token"
|
|
],
|
|
"nullsNotDistinct": false,
|
|
"name": "sessions_token_key",
|
|
"schema": "public",
|
|
"table": "sessions",
|
|
"entityType": "uniques"
|
|
},
|
|
{
|
|
"nameExplicit": false,
|
|
"columns": [
|
|
"email"
|
|
],
|
|
"nullsNotDistinct": false,
|
|
"name": "users_email_key",
|
|
"schema": "public",
|
|
"table": "users",
|
|
"entityType": "uniques"
|
|
}
|
|
],
|
|
"renames": []
|
|
}
|