xonecas.io
5414
Sa

sat / files

sat / drizzle / meta / 0001_snapshot.json

3.2 KB
1{
2  "id": "63d7c5d4-bd09-46bb-b9fd-13cd5a94f08f",
3  "prevId": "c5145db9-57d5-4900-a75f-768038e4d932",
4  "version": "7",
5  "dialect": "postgresql",
6  "tables": {
7    "public.conversations": {
8      "name": "conversations",
9      "schema": "",
10      "columns": {
11        "id": {
12          "name": "id",
13          "type": "uuid",
14          "primaryKey": true,
15          "notNull": true,
16          "default": "gen_random_uuid()"
17        },
18        "title": {
19          "name": "title",
20          "type": "text",
21          "primaryKey": false,
22          "notNull": false
23        },
24        "summary": {
25          "name": "summary",
26          "type": "text",
27          "primaryKey": false,
28          "notNull": false
29        },
30        "created_at": {
31          "name": "created_at",
32          "type": "timestamp",
33          "primaryKey": false,
34          "notNull": true,
35          "default": "now()"
36        },
37        "updated_at": {
38          "name": "updated_at",
39          "type": "timestamp",
40          "primaryKey": false,
41          "notNull": true,
42          "default": "now()"
43        }
44      },
45      "indexes": {},
46      "foreignKeys": {},
47      "compositePrimaryKeys": {},
48      "uniqueConstraints": {},
49      "policies": {},
50      "checkConstraints": {},
51      "isRLSEnabled": false
52    },
53    "public.turns": {
54      "name": "turns",
55      "schema": "",
56      "columns": {
57        "id": {
58          "name": "id",
59          "type": "uuid",
60          "primaryKey": true,
61          "notNull": true,
62          "default": "gen_random_uuid()"
63        },
64        "conversation_id": {
65          "name": "conversation_id",
66          "type": "uuid",
67          "primaryKey": false,
68          "notNull": true
69        },
70        "role": {
71          "name": "role",
72          "type": "text",
73          "primaryKey": false,
74          "notNull": true
75        },
76        "content": {
77          "name": "content",
78          "type": "text",
79          "primaryKey": false,
80          "notNull": true
81        },
82        "reasoning": {
83          "name": "reasoning",
84          "type": "text",
85          "primaryKey": false,
86          "notNull": false
87        },
88        "tool_calls": {
89          "name": "tool_calls",
90          "type": "jsonb",
91          "primaryKey": false,
92          "notNull": false
93        },
94        "created_at": {
95          "name": "created_at",
96          "type": "timestamp",
97          "primaryKey": false,
98          "notNull": true,
99          "default": "now()"
100        }
101      },
102      "indexes": {},
103      "foreignKeys": {
104        "turns_conversation_id_conversations_id_fk": {
105          "name": "turns_conversation_id_conversations_id_fk",
106          "tableFrom": "turns",
107          "tableTo": "conversations",
108          "columnsFrom": [
109            "conversation_id"
110          ],
111          "columnsTo": [
112            "id"
113          ],
114          "onDelete": "cascade",
115          "onUpdate": "no action"
116        }
117      },
118      "compositePrimaryKeys": {},
119      "uniqueConstraints": {},
120      "policies": {},
121      "checkConstraints": {},
122      "isRLSEnabled": false
123    }
124  },
125  "enums": {},
126  "schemas": {},
127  "sequences": {},
128  "roles": {},
129  "policies": {},
130  "views": {},
131  "_meta": {
132    "columns": {},
133    "schemas": {},
134    "tables": {}
135  }
136}