5414
Sa
sat / files
sat / drizzle / meta / 0000_snapshot.json
3.0 KB
1{ 2 "id": "c5145db9-57d5-4900-a75f-768038e4d932", 3 "prevId": "00000000-0000-0000-0000-000000000000", 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 "created_at": { 25 "name": "created_at", 26 "type": "timestamp", 27 "primaryKey": false, 28 "notNull": true, 29 "default": "now()" 30 }, 31 "updated_at": { 32 "name": "updated_at", 33 "type": "timestamp", 34 "primaryKey": false, 35 "notNull": true, 36 "default": "now()" 37 } 38 }, 39 "indexes": {}, 40 "foreignKeys": {}, 41 "compositePrimaryKeys": {}, 42 "uniqueConstraints": {}, 43 "policies": {}, 44 "checkConstraints": {}, 45 "isRLSEnabled": false 46 }, 47 "public.turns": { 48 "name": "turns", 49 "schema": "", 50 "columns": { 51 "id": { 52 "name": "id", 53 "type": "uuid", 54 "primaryKey": true, 55 "notNull": true, 56 "default": "gen_random_uuid()" 57 }, 58 "conversation_id": { 59 "name": "conversation_id", 60 "type": "uuid", 61 "primaryKey": false, 62 "notNull": true 63 }, 64 "role": { 65 "name": "role", 66 "type": "text", 67 "primaryKey": false, 68 "notNull": true 69 }, 70 "content": { 71 "name": "content", 72 "type": "text", 73 "primaryKey": false, 74 "notNull": true 75 }, 76 "reasoning": { 77 "name": "reasoning", 78 "type": "text", 79 "primaryKey": false, 80 "notNull": false 81 }, 82 "tool_calls": { 83 "name": "tool_calls", 84 "type": "jsonb", 85 "primaryKey": false, 86 "notNull": false 87 }, 88 "created_at": { 89 "name": "created_at", 90 "type": "timestamp", 91 "primaryKey": false, 92 "notNull": true, 93 "default": "now()" 94 } 95 }, 96 "indexes": {}, 97 "foreignKeys": { 98 "turns_conversation_id_conversations_id_fk": { 99 "name": "turns_conversation_id_conversations_id_fk", 100 "tableFrom": "turns", 101 "tableTo": "conversations", 102 "columnsFrom": [ 103 "conversation_id" 104 ], 105 "columnsTo": [ 106 "id" 107 ], 108 "onDelete": "cascade", 109 "onUpdate": "no action" 110 } 111 }, 112 "compositePrimaryKeys": {}, 113 "uniqueConstraints": {}, 114 "policies": {}, 115 "checkConstraints": {}, 116 "isRLSEnabled": false 117 } 118 }, 119 "enums": {}, 120 "schemas": {}, 121 "sequences": {}, 122 "roles": {}, 123 "policies": {}, 124 "views": {}, 125 "_meta": { 126 "columns": {}, 127 "schemas": {}, 128 "tables": {} 129 } 130}