nao-core 0.0.28__py3-none-any.whl → 0.0.30__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (46) hide show
  1. nao_core/__init__.py +1 -1
  2. nao_core/bin/fastapi/main.py +15 -2
  3. nao_core/bin/fastapi/test_main.py +156 -0
  4. nao_core/bin/migrations-postgres/0004_input_and_output_tokens.sql +8 -0
  5. nao_core/bin/migrations-postgres/meta/0004_snapshot.json +847 -0
  6. nao_core/bin/migrations-postgres/meta/_journal.json +7 -0
  7. nao_core/bin/migrations-sqlite/0004_input_and_output_tokens.sql +8 -0
  8. nao_core/bin/migrations-sqlite/meta/0004_snapshot.json +819 -0
  9. nao_core/bin/migrations-sqlite/meta/_journal.json +7 -0
  10. nao_core/bin/nao-chat-server +0 -0
  11. nao_core/bin/public/assets/{code-block-F6WJLWQG-EQr6mTlQ.js → code-block-F6WJLWQG-z4zcca7w.js} +3 -3
  12. nao_core/bin/public/assets/index-ClduEZSo.css +1 -0
  13. nao_core/bin/public/assets/index-DhhS7iVA.js +473 -0
  14. nao_core/bin/public/index.html +2 -2
  15. nao_core/commands/debug.py +10 -6
  16. nao_core/commands/init.py +39 -23
  17. nao_core/commands/sync/accessors.py +2 -3
  18. nao_core/commands/sync/databases.py +243 -1
  19. nao_core/config/__init__.py +14 -1
  20. nao_core/config/databases/__init__.py +32 -11
  21. nao_core/config/databases/base.py +6 -0
  22. nao_core/config/databases/bigquery.py +29 -1
  23. nao_core/config/databases/databricks.py +69 -0
  24. nao_core/config/databases/duckdb.py +33 -0
  25. nao_core/config/databases/snowflake.py +115 -0
  26. nao_core/config/exceptions.py +7 -0
  27. {nao_core-0.0.28.dist-info → nao_core-0.0.30.dist-info}/METADATA +5 -4
  28. {nao_core-0.0.28.dist-info → nao_core-0.0.30.dist-info}/RECORD +31 -35
  29. nao_core/bin/public/assets/_chat-layout-BTlqRUE5.js +0 -1
  30. nao_core/bin/public/assets/_chat-layout.index-DOARokp1.js +0 -1
  31. nao_core/bin/public/assets/agentProvider-C6dGIy-H.js +0 -1
  32. nao_core/bin/public/assets/button-By_1dzVx.js +0 -1
  33. nao_core/bin/public/assets/folder-DnRS5rg3.js +0 -1
  34. nao_core/bin/public/assets/index-CElAN2SH.css +0 -1
  35. nao_core/bin/public/assets/index-ZTHASguQ.js +0 -59
  36. nao_core/bin/public/assets/input-CUQA5tsi.js +0 -1
  37. nao_core/bin/public/assets/login-BUQDum3t.js +0 -1
  38. nao_core/bin/public/assets/mermaid-FSSLJTFX-Dc6ZvCPw.js +0 -427
  39. nao_core/bin/public/assets/sidebar-bgEk7Xg8.js +0 -1
  40. nao_core/bin/public/assets/signinForm-CGAhnAkv.js +0 -1
  41. nao_core/bin/public/assets/signup-D2n11La3.js +0 -1
  42. nao_core/bin/public/assets/user-CYl8Tly2.js +0 -1
  43. nao_core/bin/public/assets/utils-DzJYey0s.js +0 -1
  44. {nao_core-0.0.28.dist-info → nao_core-0.0.30.dist-info}/WHEEL +0 -0
  45. {nao_core-0.0.28.dist-info → nao_core-0.0.30.dist-info}/entry_points.txt +0 -0
  46. {nao_core-0.0.28.dist-info → nao_core-0.0.30.dist-info}/licenses/LICENSE +0 -0
@@ -0,0 +1,847 @@
1
+ {
2
+ "id": "faa290a2-3429-4127-9914-c8329464e6bb",
3
+ "prevId": "22116402-7a44-4905-be56-e09f742b8105",
4
+ "version": "7",
5
+ "dialect": "postgresql",
6
+ "tables": {
7
+ "public.account": {
8
+ "name": "account",
9
+ "schema": "",
10
+ "columns": {
11
+ "id": {
12
+ "name": "id",
13
+ "type": "text",
14
+ "primaryKey": true,
15
+ "notNull": true
16
+ },
17
+ "account_id": {
18
+ "name": "account_id",
19
+ "type": "text",
20
+ "primaryKey": false,
21
+ "notNull": true
22
+ },
23
+ "provider_id": {
24
+ "name": "provider_id",
25
+ "type": "text",
26
+ "primaryKey": false,
27
+ "notNull": true
28
+ },
29
+ "user_id": {
30
+ "name": "user_id",
31
+ "type": "text",
32
+ "primaryKey": false,
33
+ "notNull": true
34
+ },
35
+ "access_token": {
36
+ "name": "access_token",
37
+ "type": "text",
38
+ "primaryKey": false,
39
+ "notNull": false
40
+ },
41
+ "refresh_token": {
42
+ "name": "refresh_token",
43
+ "type": "text",
44
+ "primaryKey": false,
45
+ "notNull": false
46
+ },
47
+ "id_token": {
48
+ "name": "id_token",
49
+ "type": "text",
50
+ "primaryKey": false,
51
+ "notNull": false
52
+ },
53
+ "access_token_expires_at": {
54
+ "name": "access_token_expires_at",
55
+ "type": "timestamp",
56
+ "primaryKey": false,
57
+ "notNull": false
58
+ },
59
+ "refresh_token_expires_at": {
60
+ "name": "refresh_token_expires_at",
61
+ "type": "timestamp",
62
+ "primaryKey": false,
63
+ "notNull": false
64
+ },
65
+ "scope": {
66
+ "name": "scope",
67
+ "type": "text",
68
+ "primaryKey": false,
69
+ "notNull": false
70
+ },
71
+ "password": {
72
+ "name": "password",
73
+ "type": "text",
74
+ "primaryKey": false,
75
+ "notNull": false
76
+ },
77
+ "created_at": {
78
+ "name": "created_at",
79
+ "type": "timestamp",
80
+ "primaryKey": false,
81
+ "notNull": true,
82
+ "default": "now()"
83
+ },
84
+ "updated_at": {
85
+ "name": "updated_at",
86
+ "type": "timestamp",
87
+ "primaryKey": false,
88
+ "notNull": true
89
+ }
90
+ },
91
+ "indexes": {
92
+ "account_userId_idx": {
93
+ "name": "account_userId_idx",
94
+ "columns": [
95
+ {
96
+ "expression": "user_id",
97
+ "isExpression": false,
98
+ "asc": true,
99
+ "nulls": "last"
100
+ }
101
+ ],
102
+ "isUnique": false,
103
+ "concurrently": false,
104
+ "method": "btree",
105
+ "with": {}
106
+ }
107
+ },
108
+ "foreignKeys": {
109
+ "account_user_id_user_id_fk": {
110
+ "name": "account_user_id_user_id_fk",
111
+ "tableFrom": "account",
112
+ "tableTo": "user",
113
+ "columnsFrom": [
114
+ "user_id"
115
+ ],
116
+ "columnsTo": [
117
+ "id"
118
+ ],
119
+ "onDelete": "cascade",
120
+ "onUpdate": "no action"
121
+ }
122
+ },
123
+ "compositePrimaryKeys": {},
124
+ "uniqueConstraints": {},
125
+ "policies": {},
126
+ "checkConstraints": {},
127
+ "isRLSEnabled": false
128
+ },
129
+ "public.chat": {
130
+ "name": "chat",
131
+ "schema": "",
132
+ "columns": {
133
+ "id": {
134
+ "name": "id",
135
+ "type": "text",
136
+ "primaryKey": true,
137
+ "notNull": true
138
+ },
139
+ "user_id": {
140
+ "name": "user_id",
141
+ "type": "text",
142
+ "primaryKey": false,
143
+ "notNull": true
144
+ },
145
+ "title": {
146
+ "name": "title",
147
+ "type": "text",
148
+ "primaryKey": false,
149
+ "notNull": true,
150
+ "default": "'New Conversation'"
151
+ },
152
+ "slack_thread_id": {
153
+ "name": "slack_thread_id",
154
+ "type": "text",
155
+ "primaryKey": false,
156
+ "notNull": false
157
+ },
158
+ "created_at": {
159
+ "name": "created_at",
160
+ "type": "timestamp",
161
+ "primaryKey": false,
162
+ "notNull": true,
163
+ "default": "now()"
164
+ },
165
+ "updated_at": {
166
+ "name": "updated_at",
167
+ "type": "timestamp",
168
+ "primaryKey": false,
169
+ "notNull": true,
170
+ "default": "now()"
171
+ }
172
+ },
173
+ "indexes": {
174
+ "chat_userId_idx": {
175
+ "name": "chat_userId_idx",
176
+ "columns": [
177
+ {
178
+ "expression": "user_id",
179
+ "isExpression": false,
180
+ "asc": true,
181
+ "nulls": "last"
182
+ }
183
+ ],
184
+ "isUnique": false,
185
+ "concurrently": false,
186
+ "method": "btree",
187
+ "with": {}
188
+ },
189
+ "chat_slack_thread_idx": {
190
+ "name": "chat_slack_thread_idx",
191
+ "columns": [
192
+ {
193
+ "expression": "slack_thread_id",
194
+ "isExpression": false,
195
+ "asc": true,
196
+ "nulls": "last"
197
+ }
198
+ ],
199
+ "isUnique": false,
200
+ "concurrently": false,
201
+ "method": "btree",
202
+ "with": {}
203
+ }
204
+ },
205
+ "foreignKeys": {
206
+ "chat_user_id_user_id_fk": {
207
+ "name": "chat_user_id_user_id_fk",
208
+ "tableFrom": "chat",
209
+ "tableTo": "user",
210
+ "columnsFrom": [
211
+ "user_id"
212
+ ],
213
+ "columnsTo": [
214
+ "id"
215
+ ],
216
+ "onDelete": "cascade",
217
+ "onUpdate": "no action"
218
+ }
219
+ },
220
+ "compositePrimaryKeys": {},
221
+ "uniqueConstraints": {},
222
+ "policies": {},
223
+ "checkConstraints": {},
224
+ "isRLSEnabled": false
225
+ },
226
+ "public.chat_message": {
227
+ "name": "chat_message",
228
+ "schema": "",
229
+ "columns": {
230
+ "id": {
231
+ "name": "id",
232
+ "type": "text",
233
+ "primaryKey": true,
234
+ "notNull": true
235
+ },
236
+ "chat_id": {
237
+ "name": "chat_id",
238
+ "type": "text",
239
+ "primaryKey": false,
240
+ "notNull": true
241
+ },
242
+ "role": {
243
+ "name": "role",
244
+ "type": "text",
245
+ "primaryKey": false,
246
+ "notNull": true
247
+ },
248
+ "stop_reason": {
249
+ "name": "stop_reason",
250
+ "type": "text",
251
+ "primaryKey": false,
252
+ "notNull": false
253
+ },
254
+ "error_message": {
255
+ "name": "error_message",
256
+ "type": "text",
257
+ "primaryKey": false,
258
+ "notNull": false
259
+ },
260
+ "created_at": {
261
+ "name": "created_at",
262
+ "type": "timestamp",
263
+ "primaryKey": false,
264
+ "notNull": true,
265
+ "default": "now()"
266
+ }
267
+ },
268
+ "indexes": {
269
+ "chat_message_chatId_idx": {
270
+ "name": "chat_message_chatId_idx",
271
+ "columns": [
272
+ {
273
+ "expression": "chat_id",
274
+ "isExpression": false,
275
+ "asc": true,
276
+ "nulls": "last"
277
+ }
278
+ ],
279
+ "isUnique": false,
280
+ "concurrently": false,
281
+ "method": "btree",
282
+ "with": {}
283
+ },
284
+ "chat_message_createdAt_idx": {
285
+ "name": "chat_message_createdAt_idx",
286
+ "columns": [
287
+ {
288
+ "expression": "created_at",
289
+ "isExpression": false,
290
+ "asc": true,
291
+ "nulls": "last"
292
+ }
293
+ ],
294
+ "isUnique": false,
295
+ "concurrently": false,
296
+ "method": "btree",
297
+ "with": {}
298
+ }
299
+ },
300
+ "foreignKeys": {
301
+ "chat_message_chat_id_chat_id_fk": {
302
+ "name": "chat_message_chat_id_chat_id_fk",
303
+ "tableFrom": "chat_message",
304
+ "tableTo": "chat",
305
+ "columnsFrom": [
306
+ "chat_id"
307
+ ],
308
+ "columnsTo": [
309
+ "id"
310
+ ],
311
+ "onDelete": "cascade",
312
+ "onUpdate": "no action"
313
+ }
314
+ },
315
+ "compositePrimaryKeys": {},
316
+ "uniqueConstraints": {},
317
+ "policies": {},
318
+ "checkConstraints": {},
319
+ "isRLSEnabled": false
320
+ },
321
+ "public.message_feedback": {
322
+ "name": "message_feedback",
323
+ "schema": "",
324
+ "columns": {
325
+ "message_id": {
326
+ "name": "message_id",
327
+ "type": "text",
328
+ "primaryKey": true,
329
+ "notNull": true
330
+ },
331
+ "vote": {
332
+ "name": "vote",
333
+ "type": "text",
334
+ "primaryKey": false,
335
+ "notNull": true
336
+ },
337
+ "explanation": {
338
+ "name": "explanation",
339
+ "type": "text",
340
+ "primaryKey": false,
341
+ "notNull": false
342
+ },
343
+ "created_at": {
344
+ "name": "created_at",
345
+ "type": "timestamp",
346
+ "primaryKey": false,
347
+ "notNull": true,
348
+ "default": "now()"
349
+ },
350
+ "updated_at": {
351
+ "name": "updated_at",
352
+ "type": "timestamp",
353
+ "primaryKey": false,
354
+ "notNull": true,
355
+ "default": "now()"
356
+ }
357
+ },
358
+ "indexes": {},
359
+ "foreignKeys": {
360
+ "message_feedback_message_id_chat_message_id_fk": {
361
+ "name": "message_feedback_message_id_chat_message_id_fk",
362
+ "tableFrom": "message_feedback",
363
+ "tableTo": "chat_message",
364
+ "columnsFrom": [
365
+ "message_id"
366
+ ],
367
+ "columnsTo": [
368
+ "id"
369
+ ],
370
+ "onDelete": "cascade",
371
+ "onUpdate": "no action"
372
+ }
373
+ },
374
+ "compositePrimaryKeys": {},
375
+ "uniqueConstraints": {},
376
+ "policies": {},
377
+ "checkConstraints": {},
378
+ "isRLSEnabled": false
379
+ },
380
+ "public.message_part": {
381
+ "name": "message_part",
382
+ "schema": "",
383
+ "columns": {
384
+ "id": {
385
+ "name": "id",
386
+ "type": "text",
387
+ "primaryKey": true,
388
+ "notNull": true
389
+ },
390
+ "message_id": {
391
+ "name": "message_id",
392
+ "type": "text",
393
+ "primaryKey": false,
394
+ "notNull": true
395
+ },
396
+ "order": {
397
+ "name": "order",
398
+ "type": "integer",
399
+ "primaryKey": false,
400
+ "notNull": true
401
+ },
402
+ "created_at": {
403
+ "name": "created_at",
404
+ "type": "timestamp",
405
+ "primaryKey": false,
406
+ "notNull": true,
407
+ "default": "now()"
408
+ },
409
+ "type": {
410
+ "name": "type",
411
+ "type": "text",
412
+ "primaryKey": false,
413
+ "notNull": true
414
+ },
415
+ "text": {
416
+ "name": "text",
417
+ "type": "text",
418
+ "primaryKey": false,
419
+ "notNull": false
420
+ },
421
+ "reasoning_text": {
422
+ "name": "reasoning_text",
423
+ "type": "text",
424
+ "primaryKey": false,
425
+ "notNull": false
426
+ },
427
+ "input_total_tokens": {
428
+ "name": "input_total_tokens",
429
+ "type": "integer",
430
+ "primaryKey": false,
431
+ "notNull": false
432
+ },
433
+ "input_no_cache_tokens": {
434
+ "name": "input_no_cache_tokens",
435
+ "type": "integer",
436
+ "primaryKey": false,
437
+ "notNull": false
438
+ },
439
+ "input_cache_read_tokens": {
440
+ "name": "input_cache_read_tokens",
441
+ "type": "integer",
442
+ "primaryKey": false,
443
+ "notNull": false
444
+ },
445
+ "input_cache_write_tokens": {
446
+ "name": "input_cache_write_tokens",
447
+ "type": "integer",
448
+ "primaryKey": false,
449
+ "notNull": false
450
+ },
451
+ "output_total_tokens": {
452
+ "name": "output_total_tokens",
453
+ "type": "integer",
454
+ "primaryKey": false,
455
+ "notNull": false
456
+ },
457
+ "output_text_tokens": {
458
+ "name": "output_text_tokens",
459
+ "type": "integer",
460
+ "primaryKey": false,
461
+ "notNull": false
462
+ },
463
+ "output_reasoning_tokens": {
464
+ "name": "output_reasoning_tokens",
465
+ "type": "integer",
466
+ "primaryKey": false,
467
+ "notNull": false
468
+ },
469
+ "total_tokens": {
470
+ "name": "total_tokens",
471
+ "type": "integer",
472
+ "primaryKey": false,
473
+ "notNull": false
474
+ },
475
+ "tool_call_id": {
476
+ "name": "tool_call_id",
477
+ "type": "text",
478
+ "primaryKey": false,
479
+ "notNull": false
480
+ },
481
+ "tool_name": {
482
+ "name": "tool_name",
483
+ "type": "text",
484
+ "primaryKey": false,
485
+ "notNull": false
486
+ },
487
+ "tool_state": {
488
+ "name": "tool_state",
489
+ "type": "text",
490
+ "primaryKey": false,
491
+ "notNull": false
492
+ },
493
+ "tool_error_text": {
494
+ "name": "tool_error_text",
495
+ "type": "text",
496
+ "primaryKey": false,
497
+ "notNull": false
498
+ },
499
+ "tool_input": {
500
+ "name": "tool_input",
501
+ "type": "jsonb",
502
+ "primaryKey": false,
503
+ "notNull": false
504
+ },
505
+ "tool_output": {
506
+ "name": "tool_output",
507
+ "type": "jsonb",
508
+ "primaryKey": false,
509
+ "notNull": false
510
+ },
511
+ "tool_approval_id": {
512
+ "name": "tool_approval_id",
513
+ "type": "text",
514
+ "primaryKey": false,
515
+ "notNull": false
516
+ },
517
+ "tool_approval_approved": {
518
+ "name": "tool_approval_approved",
519
+ "type": "boolean",
520
+ "primaryKey": false,
521
+ "notNull": false
522
+ },
523
+ "tool_approval_reason": {
524
+ "name": "tool_approval_reason",
525
+ "type": "text",
526
+ "primaryKey": false,
527
+ "notNull": false
528
+ }
529
+ },
530
+ "indexes": {
531
+ "parts_message_id_idx": {
532
+ "name": "parts_message_id_idx",
533
+ "columns": [
534
+ {
535
+ "expression": "message_id",
536
+ "isExpression": false,
537
+ "asc": true,
538
+ "nulls": "last"
539
+ }
540
+ ],
541
+ "isUnique": false,
542
+ "concurrently": false,
543
+ "method": "btree",
544
+ "with": {}
545
+ },
546
+ "parts_message_id_order_idx": {
547
+ "name": "parts_message_id_order_idx",
548
+ "columns": [
549
+ {
550
+ "expression": "message_id",
551
+ "isExpression": false,
552
+ "asc": true,
553
+ "nulls": "last"
554
+ },
555
+ {
556
+ "expression": "order",
557
+ "isExpression": false,
558
+ "asc": true,
559
+ "nulls": "last"
560
+ }
561
+ ],
562
+ "isUnique": false,
563
+ "concurrently": false,
564
+ "method": "btree",
565
+ "with": {}
566
+ }
567
+ },
568
+ "foreignKeys": {
569
+ "message_part_message_id_chat_message_id_fk": {
570
+ "name": "message_part_message_id_chat_message_id_fk",
571
+ "tableFrom": "message_part",
572
+ "tableTo": "chat_message",
573
+ "columnsFrom": [
574
+ "message_id"
575
+ ],
576
+ "columnsTo": [
577
+ "id"
578
+ ],
579
+ "onDelete": "cascade",
580
+ "onUpdate": "no action"
581
+ }
582
+ },
583
+ "compositePrimaryKeys": {},
584
+ "uniqueConstraints": {},
585
+ "policies": {},
586
+ "checkConstraints": {
587
+ "text_required_if_type_is_text": {
588
+ "name": "text_required_if_type_is_text",
589
+ "value": "CASE WHEN \"message_part\".\"type\" = 'text' THEN \"message_part\".\"text\" IS NOT NULL ELSE TRUE END"
590
+ },
591
+ "reasoning_text_required_if_type_is_reasoning": {
592
+ "name": "reasoning_text_required_if_type_is_reasoning",
593
+ "value": "CASE WHEN \"message_part\".\"type\" = 'reasoning' THEN \"message_part\".\"reasoning_text\" IS NOT NULL ELSE TRUE END"
594
+ },
595
+ "tool_call_fields_required": {
596
+ "name": "tool_call_fields_required",
597
+ "value": "CASE WHEN \"message_part\".\"type\" LIKE 'tool-%' THEN \"message_part\".\"tool_call_id\" IS NOT NULL AND \"message_part\".\"tool_state\" IS NOT NULL ELSE TRUE END"
598
+ }
599
+ },
600
+ "isRLSEnabled": false
601
+ },
602
+ "public.session": {
603
+ "name": "session",
604
+ "schema": "",
605
+ "columns": {
606
+ "id": {
607
+ "name": "id",
608
+ "type": "text",
609
+ "primaryKey": true,
610
+ "notNull": true
611
+ },
612
+ "expires_at": {
613
+ "name": "expires_at",
614
+ "type": "timestamp",
615
+ "primaryKey": false,
616
+ "notNull": true
617
+ },
618
+ "token": {
619
+ "name": "token",
620
+ "type": "text",
621
+ "primaryKey": false,
622
+ "notNull": true
623
+ },
624
+ "created_at": {
625
+ "name": "created_at",
626
+ "type": "timestamp",
627
+ "primaryKey": false,
628
+ "notNull": true,
629
+ "default": "now()"
630
+ },
631
+ "updated_at": {
632
+ "name": "updated_at",
633
+ "type": "timestamp",
634
+ "primaryKey": false,
635
+ "notNull": true
636
+ },
637
+ "ip_address": {
638
+ "name": "ip_address",
639
+ "type": "text",
640
+ "primaryKey": false,
641
+ "notNull": false
642
+ },
643
+ "user_agent": {
644
+ "name": "user_agent",
645
+ "type": "text",
646
+ "primaryKey": false,
647
+ "notNull": false
648
+ },
649
+ "user_id": {
650
+ "name": "user_id",
651
+ "type": "text",
652
+ "primaryKey": false,
653
+ "notNull": true
654
+ }
655
+ },
656
+ "indexes": {
657
+ "session_userId_idx": {
658
+ "name": "session_userId_idx",
659
+ "columns": [
660
+ {
661
+ "expression": "user_id",
662
+ "isExpression": false,
663
+ "asc": true,
664
+ "nulls": "last"
665
+ }
666
+ ],
667
+ "isUnique": false,
668
+ "concurrently": false,
669
+ "method": "btree",
670
+ "with": {}
671
+ }
672
+ },
673
+ "foreignKeys": {
674
+ "session_user_id_user_id_fk": {
675
+ "name": "session_user_id_user_id_fk",
676
+ "tableFrom": "session",
677
+ "tableTo": "user",
678
+ "columnsFrom": [
679
+ "user_id"
680
+ ],
681
+ "columnsTo": [
682
+ "id"
683
+ ],
684
+ "onDelete": "cascade",
685
+ "onUpdate": "no action"
686
+ }
687
+ },
688
+ "compositePrimaryKeys": {},
689
+ "uniqueConstraints": {
690
+ "session_token_unique": {
691
+ "name": "session_token_unique",
692
+ "nullsNotDistinct": false,
693
+ "columns": [
694
+ "token"
695
+ ]
696
+ }
697
+ },
698
+ "policies": {},
699
+ "checkConstraints": {},
700
+ "isRLSEnabled": false
701
+ },
702
+ "public.user": {
703
+ "name": "user",
704
+ "schema": "",
705
+ "columns": {
706
+ "id": {
707
+ "name": "id",
708
+ "type": "text",
709
+ "primaryKey": true,
710
+ "notNull": true
711
+ },
712
+ "name": {
713
+ "name": "name",
714
+ "type": "text",
715
+ "primaryKey": false,
716
+ "notNull": true
717
+ },
718
+ "email": {
719
+ "name": "email",
720
+ "type": "text",
721
+ "primaryKey": false,
722
+ "notNull": true
723
+ },
724
+ "email_verified": {
725
+ "name": "email_verified",
726
+ "type": "boolean",
727
+ "primaryKey": false,
728
+ "notNull": true,
729
+ "default": false
730
+ },
731
+ "image": {
732
+ "name": "image",
733
+ "type": "text",
734
+ "primaryKey": false,
735
+ "notNull": false
736
+ },
737
+ "created_at": {
738
+ "name": "created_at",
739
+ "type": "timestamp",
740
+ "primaryKey": false,
741
+ "notNull": true,
742
+ "default": "now()"
743
+ },
744
+ "updated_at": {
745
+ "name": "updated_at",
746
+ "type": "timestamp",
747
+ "primaryKey": false,
748
+ "notNull": true,
749
+ "default": "now()"
750
+ }
751
+ },
752
+ "indexes": {},
753
+ "foreignKeys": {},
754
+ "compositePrimaryKeys": {},
755
+ "uniqueConstraints": {
756
+ "user_email_unique": {
757
+ "name": "user_email_unique",
758
+ "nullsNotDistinct": false,
759
+ "columns": [
760
+ "email"
761
+ ]
762
+ }
763
+ },
764
+ "policies": {},
765
+ "checkConstraints": {},
766
+ "isRLSEnabled": false
767
+ },
768
+ "public.verification": {
769
+ "name": "verification",
770
+ "schema": "",
771
+ "columns": {
772
+ "id": {
773
+ "name": "id",
774
+ "type": "text",
775
+ "primaryKey": true,
776
+ "notNull": true
777
+ },
778
+ "identifier": {
779
+ "name": "identifier",
780
+ "type": "text",
781
+ "primaryKey": false,
782
+ "notNull": true
783
+ },
784
+ "value": {
785
+ "name": "value",
786
+ "type": "text",
787
+ "primaryKey": false,
788
+ "notNull": true
789
+ },
790
+ "expires_at": {
791
+ "name": "expires_at",
792
+ "type": "timestamp",
793
+ "primaryKey": false,
794
+ "notNull": true
795
+ },
796
+ "created_at": {
797
+ "name": "created_at",
798
+ "type": "timestamp",
799
+ "primaryKey": false,
800
+ "notNull": true,
801
+ "default": "now()"
802
+ },
803
+ "updated_at": {
804
+ "name": "updated_at",
805
+ "type": "timestamp",
806
+ "primaryKey": false,
807
+ "notNull": true,
808
+ "default": "now()"
809
+ }
810
+ },
811
+ "indexes": {
812
+ "verification_identifier_idx": {
813
+ "name": "verification_identifier_idx",
814
+ "columns": [
815
+ {
816
+ "expression": "identifier",
817
+ "isExpression": false,
818
+ "asc": true,
819
+ "nulls": "last"
820
+ }
821
+ ],
822
+ "isUnique": false,
823
+ "concurrently": false,
824
+ "method": "btree",
825
+ "with": {}
826
+ }
827
+ },
828
+ "foreignKeys": {},
829
+ "compositePrimaryKeys": {},
830
+ "uniqueConstraints": {},
831
+ "policies": {},
832
+ "checkConstraints": {},
833
+ "isRLSEnabled": false
834
+ }
835
+ },
836
+ "enums": {},
837
+ "schemas": {},
838
+ "sequences": {},
839
+ "roles": {},
840
+ "policies": {},
841
+ "views": {},
842
+ "_meta": {
843
+ "columns": {},
844
+ "schemas": {},
845
+ "tables": {}
846
+ }
847
+ }