53129
Pa
PAT / files
PAT / drizzle / meta / 0007_snapshot.json
3.3 KB
1{ 2 "id": "ca5189e9-3478-4d36-8016-f20ddea2c568", 3 "prevId": "58baed47-8a10-4003-81cf-3cc9854ac3cb", 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 "thinking": { 36 "name": "thinking", 37 "type": "text", 38 "primaryKey": false, 39 "notNull": false 40 }, 41 "created_at": { 42 "name": "created_at", 43 "type": "timestamp with time zone", 44 "primaryKey": false, 45 "notNull": true, 46 "default": "now()" 47 } 48 }, 49 "indexes": {}, 50 "foreignKeys": { 51 "messages_thread_id_threads_id_fk": { 52 "name": "messages_thread_id_threads_id_fk", 53 "tableFrom": "messages", 54 "tableTo": "threads", 55 "columnsFrom": [ 56 "thread_id" 57 ], 58 "columnsTo": [ 59 "id" 60 ], 61 "onDelete": "cascade", 62 "onUpdate": "no action" 63 } 64 }, 65 "compositePrimaryKeys": {}, 66 "uniqueConstraints": {}, 67 "policies": {}, 68 "checkConstraints": {}, 69 "isRLSEnabled": false 70 }, 71 "public.threads": { 72 "name": "threads", 73 "schema": "", 74 "columns": { 75 "id": { 76 "name": "id", 77 "type": "serial", 78 "primaryKey": true, 79 "notNull": true 80 }, 81 "title": { 82 "name": "title", 83 "type": "text", 84 "primaryKey": false, 85 "notNull": false 86 }, 87 "model": { 88 "name": "model", 89 "type": "text", 90 "primaryKey": false, 91 "notNull": true 92 }, 93 "max_prompt_length": { 94 "name": "max_prompt_length", 95 "type": "integer", 96 "primaryKey": false, 97 "notNull": false 98 }, 99 "user_prompt": { 100 "name": "user_prompt", 101 "type": "text", 102 "primaryKey": false, 103 "notNull": false 104 }, 105 "created_at": { 106 "name": "created_at", 107 "type": "timestamp with time zone", 108 "primaryKey": false, 109 "notNull": true, 110 "default": "now()" 111 }, 112 "updated_at": { 113 "name": "updated_at", 114 "type": "timestamp with time zone", 115 "primaryKey": false, 116 "notNull": true, 117 "default": "now()" 118 } 119 }, 120 "indexes": {}, 121 "foreignKeys": {}, 122 "compositePrimaryKeys": {}, 123 "uniqueConstraints": {}, 124 "policies": {}, 125 "checkConstraints": {}, 126 "isRLSEnabled": false 127 } 128 }, 129 "enums": {}, 130 "schemas": {}, 131 "sequences": {}, 132 "roles": {}, 133 "policies": {}, 134 "views": {}, 135 "_meta": { 136 "columns": {}, 137 "schemas": {}, 138 "tables": {} 139 } 140}