53129
Pa
PAT / files
PAT / drizzle / meta / 0000_snapshot.json
3.0 KB
1{ 2 "id": "34bac836-2b5d-4ea5-aeaf-a7e999466aa5", 3 "prevId": "00000000-0000-0000-0000-000000000000", 4 "version": "7", 5 "dialect": "postgresql", 6 "tables": { 7 "public.messages": { 8 "name": "messages", 9 "schema": "", 10 "columns": { 11 "id": { 12 "name": "id", 13 "type": "serial", 14 "primaryKey": true, 15 "notNull": true 16 }, 17 "thread_id": { 18 "name": "thread_id", 19 "type": "integer", 20 "primaryKey": false, 21 "notNull": true 22 }, 23 "role": { 24 "name": "role", 25 "type": "text", 26 "primaryKey": false, 27 "notNull": true 28 }, 29 "content": { 30 "name": "content", 31 "type": "text", 32 "primaryKey": false, 33 "notNull": true 34 }, 35 "created_at": { 36 "name": "created_at", 37 "type": "timestamp with time zone", 38 "primaryKey": false, 39 "notNull": true, 40 "default": "now()" 41 }, 42 "generation_time_ms": { 43 "name": "generation_time_ms", 44 "type": "integer", 45 "primaryKey": false, 46 "notNull": false 47 }, 48 "tool_calls": { 49 "name": "tool_calls", 50 "type": "text", 51 "primaryKey": false, 52 "notNull": false 53 } 54 }, 55 "indexes": {}, 56 "foreignKeys": { 57 "messages_thread_id_threads_id_fk": { 58 "name": "messages_thread_id_threads_id_fk", 59 "tableFrom": "messages", 60 "tableTo": "threads", 61 "columnsFrom": [ 62 "thread_id" 63 ], 64 "columnsTo": [ 65 "id" 66 ], 67 "onDelete": "cascade", 68 "onUpdate": "no action" 69 } 70 }, 71 "compositePrimaryKeys": {}, 72 "uniqueConstraints": {}, 73 "policies": {}, 74 "checkConstraints": {}, 75 "isRLSEnabled": false 76 }, 77 "public.threads": { 78 "name": "threads", 79 "schema": "", 80 "columns": { 81 "id": { 82 "name": "id", 83 "type": "serial", 84 "primaryKey": true, 85 "notNull": true 86 }, 87 "title": { 88 "name": "title", 89 "type": "text", 90 "primaryKey": false, 91 "notNull": false 92 }, 93 "created_at": { 94 "name": "created_at", 95 "type": "timestamp with time zone", 96 "primaryKey": false, 97 "notNull": true, 98 "default": "now()" 99 }, 100 "updated_at": { 101 "name": "updated_at", 102 "type": "timestamp with time zone", 103 "primaryKey": false, 104 "notNull": true, 105 "default": "now()" 106 } 107 }, 108 "indexes": {}, 109 "foreignKeys": {}, 110 "compositePrimaryKeys": {}, 111 "uniqueConstraints": {}, 112 "policies": {}, 113 "checkConstraints": {}, 114 "isRLSEnabled": false 115 } 116 }, 117 "enums": {}, 118 "schemas": {}, 119 "sequences": {}, 120 "roles": {}, 121 "policies": {}, 122 "views": {}, 123 "_meta": { 124 "columns": {}, 125 "schemas": {}, 126 "tables": {} 127 } 128}