KrishnaCosmic commited on
Commit
b0f6b3e
·
1 Parent(s): 6bb9678

apply new changes

Browse files
drizzle/0003_sparkling_the_santerians.sql ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ ALTER TABLE `issues` ADD `body_summary` text;--> statement-breakpoint
2
+ ALTER TABLE `issues` ADD `head_sha` text;--> statement-breakpoint
3
+ ALTER TABLE `issues` ADD `updated_at` text;--> statement-breakpoint
4
+ ALTER TABLE `triage_data` ADD `bug_risk_score` integer;--> statement-breakpoint
5
+ ALTER TABLE `triage_data` ADD `toxicity_flag` integer DEFAULT false;
drizzle/meta/0003_snapshot.json ADDED
@@ -0,0 +1,2743 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "version": "6",
3
+ "dialect": "sqlite",
4
+ "id": "46a4b77b-b5ae-4481-9f72-df59bc6d38ec",
5
+ "prevId": "49c6f642-b969-459a-bff3-c4c4246472f6",
6
+ "tables": {
7
+ "chat_message_attachments": {
8
+ "name": "chat_message_attachments",
9
+ "columns": {
10
+ "message_id": {
11
+ "name": "message_id",
12
+ "type": "text",
13
+ "primaryKey": false,
14
+ "notNull": true,
15
+ "autoincrement": false
16
+ },
17
+ "attachment": {
18
+ "name": "attachment",
19
+ "type": "text",
20
+ "primaryKey": false,
21
+ "notNull": true,
22
+ "autoincrement": false
23
+ }
24
+ },
25
+ "indexes": {},
26
+ "foreignKeys": {
27
+ "chat_message_attachments_message_id_chat_messages_id_fk": {
28
+ "name": "chat_message_attachments_message_id_chat_messages_id_fk",
29
+ "tableFrom": "chat_message_attachments",
30
+ "tableTo": "chat_messages",
31
+ "columnsFrom": [
32
+ "message_id"
33
+ ],
34
+ "columnsTo": [
35
+ "id"
36
+ ],
37
+ "onDelete": "cascade",
38
+ "onUpdate": "no action"
39
+ }
40
+ },
41
+ "compositePrimaryKeys": {},
42
+ "uniqueConstraints": {},
43
+ "checkConstraints": {}
44
+ },
45
+ "chat_message_reactions": {
46
+ "name": "chat_message_reactions",
47
+ "columns": {
48
+ "message_id": {
49
+ "name": "message_id",
50
+ "type": "text",
51
+ "primaryKey": false,
52
+ "notNull": true,
53
+ "autoincrement": false
54
+ },
55
+ "emoji": {
56
+ "name": "emoji",
57
+ "type": "text",
58
+ "primaryKey": false,
59
+ "notNull": true,
60
+ "autoincrement": false
61
+ },
62
+ "user_id": {
63
+ "name": "user_id",
64
+ "type": "text",
65
+ "primaryKey": false,
66
+ "notNull": true,
67
+ "autoincrement": false
68
+ }
69
+ },
70
+ "indexes": {},
71
+ "foreignKeys": {
72
+ "chat_message_reactions_message_id_chat_messages_id_fk": {
73
+ "name": "chat_message_reactions_message_id_chat_messages_id_fk",
74
+ "tableFrom": "chat_message_reactions",
75
+ "tableTo": "chat_messages",
76
+ "columnsFrom": [
77
+ "message_id"
78
+ ],
79
+ "columnsTo": [
80
+ "id"
81
+ ],
82
+ "onDelete": "cascade",
83
+ "onUpdate": "no action"
84
+ },
85
+ "chat_message_reactions_user_id_users_id_fk": {
86
+ "name": "chat_message_reactions_user_id_users_id_fk",
87
+ "tableFrom": "chat_message_reactions",
88
+ "tableTo": "users",
89
+ "columnsFrom": [
90
+ "user_id"
91
+ ],
92
+ "columnsTo": [
93
+ "id"
94
+ ],
95
+ "onDelete": "cascade",
96
+ "onUpdate": "no action"
97
+ }
98
+ },
99
+ "compositePrimaryKeys": {},
100
+ "uniqueConstraints": {},
101
+ "checkConstraints": {}
102
+ },
103
+ "chat_messages": {
104
+ "name": "chat_messages",
105
+ "columns": {
106
+ "id": {
107
+ "name": "id",
108
+ "type": "text",
109
+ "primaryKey": true,
110
+ "notNull": true,
111
+ "autoincrement": false
112
+ },
113
+ "session_id": {
114
+ "name": "session_id",
115
+ "type": "text",
116
+ "primaryKey": false,
117
+ "notNull": true,
118
+ "autoincrement": false
119
+ },
120
+ "sender_id": {
121
+ "name": "sender_id",
122
+ "type": "text",
123
+ "primaryKey": false,
124
+ "notNull": true,
125
+ "autoincrement": false
126
+ },
127
+ "sender_username": {
128
+ "name": "sender_username",
129
+ "type": "text",
130
+ "primaryKey": false,
131
+ "notNull": true,
132
+ "autoincrement": false
133
+ },
134
+ "is_mentor": {
135
+ "name": "is_mentor",
136
+ "type": "integer",
137
+ "primaryKey": false,
138
+ "notNull": false,
139
+ "autoincrement": false,
140
+ "default": false
141
+ },
142
+ "content": {
143
+ "name": "content",
144
+ "type": "text",
145
+ "primaryKey": false,
146
+ "notNull": true,
147
+ "autoincrement": false
148
+ },
149
+ "message_type": {
150
+ "name": "message_type",
151
+ "type": "text",
152
+ "primaryKey": false,
153
+ "notNull": false,
154
+ "autoincrement": false,
155
+ "default": "'text'"
156
+ },
157
+ "language": {
158
+ "name": "language",
159
+ "type": "text",
160
+ "primaryKey": false,
161
+ "notNull": false,
162
+ "autoincrement": false
163
+ },
164
+ "is_ai_generated": {
165
+ "name": "is_ai_generated",
166
+ "type": "integer",
167
+ "primaryKey": false,
168
+ "notNull": false,
169
+ "autoincrement": false,
170
+ "default": false
171
+ },
172
+ "contains_resource": {
173
+ "name": "contains_resource",
174
+ "type": "integer",
175
+ "primaryKey": false,
176
+ "notNull": false,
177
+ "autoincrement": false,
178
+ "default": false
179
+ },
180
+ "extracted_resource_id": {
181
+ "name": "extracted_resource_id",
182
+ "type": "text",
183
+ "primaryKey": false,
184
+ "notNull": false,
185
+ "autoincrement": false
186
+ },
187
+ "timestamp": {
188
+ "name": "timestamp",
189
+ "type": "text",
190
+ "primaryKey": false,
191
+ "notNull": true,
192
+ "autoincrement": false
193
+ },
194
+ "edited_at": {
195
+ "name": "edited_at",
196
+ "type": "text",
197
+ "primaryKey": false,
198
+ "notNull": false,
199
+ "autoincrement": false
200
+ }
201
+ },
202
+ "indexes": {},
203
+ "foreignKeys": {
204
+ "chat_messages_session_id_chat_sessions_id_fk": {
205
+ "name": "chat_messages_session_id_chat_sessions_id_fk",
206
+ "tableFrom": "chat_messages",
207
+ "tableTo": "chat_sessions",
208
+ "columnsFrom": [
209
+ "session_id"
210
+ ],
211
+ "columnsTo": [
212
+ "id"
213
+ ],
214
+ "onDelete": "cascade",
215
+ "onUpdate": "no action"
216
+ },
217
+ "chat_messages_sender_id_users_id_fk": {
218
+ "name": "chat_messages_sender_id_users_id_fk",
219
+ "tableFrom": "chat_messages",
220
+ "tableTo": "users",
221
+ "columnsFrom": [
222
+ "sender_id"
223
+ ],
224
+ "columnsTo": [
225
+ "id"
226
+ ],
227
+ "onDelete": "no action",
228
+ "onUpdate": "no action"
229
+ }
230
+ },
231
+ "compositePrimaryKeys": {},
232
+ "uniqueConstraints": {},
233
+ "checkConstraints": {}
234
+ },
235
+ "chat_session_key_points": {
236
+ "name": "chat_session_key_points",
237
+ "columns": {
238
+ "id": {
239
+ "name": "id",
240
+ "type": "text",
241
+ "primaryKey": true,
242
+ "notNull": true,
243
+ "autoincrement": false
244
+ },
245
+ "session_id": {
246
+ "name": "session_id",
247
+ "type": "text",
248
+ "primaryKey": false,
249
+ "notNull": true,
250
+ "autoincrement": false
251
+ },
252
+ "key_point": {
253
+ "name": "key_point",
254
+ "type": "text",
255
+ "primaryKey": false,
256
+ "notNull": true,
257
+ "autoincrement": false
258
+ },
259
+ "sort_order": {
260
+ "name": "sort_order",
261
+ "type": "integer",
262
+ "primaryKey": false,
263
+ "notNull": false,
264
+ "autoincrement": false,
265
+ "default": 0
266
+ }
267
+ },
268
+ "indexes": {},
269
+ "foreignKeys": {
270
+ "chat_session_key_points_session_id_chat_sessions_id_fk": {
271
+ "name": "chat_session_key_points_session_id_chat_sessions_id_fk",
272
+ "tableFrom": "chat_session_key_points",
273
+ "tableTo": "chat_sessions",
274
+ "columnsFrom": [
275
+ "session_id"
276
+ ],
277
+ "columnsTo": [
278
+ "id"
279
+ ],
280
+ "onDelete": "cascade",
281
+ "onUpdate": "no action"
282
+ }
283
+ },
284
+ "compositePrimaryKeys": {},
285
+ "uniqueConstraints": {},
286
+ "checkConstraints": {}
287
+ },
288
+ "chat_session_mentees": {
289
+ "name": "chat_session_mentees",
290
+ "columns": {
291
+ "session_id": {
292
+ "name": "session_id",
293
+ "type": "text",
294
+ "primaryKey": false,
295
+ "notNull": true,
296
+ "autoincrement": false
297
+ },
298
+ "mentee_id": {
299
+ "name": "mentee_id",
300
+ "type": "text",
301
+ "primaryKey": false,
302
+ "notNull": true,
303
+ "autoincrement": false
304
+ },
305
+ "mentee_username": {
306
+ "name": "mentee_username",
307
+ "type": "text",
308
+ "primaryKey": false,
309
+ "notNull": true,
310
+ "autoincrement": false
311
+ }
312
+ },
313
+ "indexes": {},
314
+ "foreignKeys": {
315
+ "chat_session_mentees_session_id_chat_sessions_id_fk": {
316
+ "name": "chat_session_mentees_session_id_chat_sessions_id_fk",
317
+ "tableFrom": "chat_session_mentees",
318
+ "tableTo": "chat_sessions",
319
+ "columnsFrom": [
320
+ "session_id"
321
+ ],
322
+ "columnsTo": [
323
+ "id"
324
+ ],
325
+ "onDelete": "cascade",
326
+ "onUpdate": "no action"
327
+ },
328
+ "chat_session_mentees_mentee_id_users_id_fk": {
329
+ "name": "chat_session_mentees_mentee_id_users_id_fk",
330
+ "tableFrom": "chat_session_mentees",
331
+ "tableTo": "users",
332
+ "columnsFrom": [
333
+ "mentee_id"
334
+ ],
335
+ "columnsTo": [
336
+ "id"
337
+ ],
338
+ "onDelete": "cascade",
339
+ "onUpdate": "no action"
340
+ }
341
+ },
342
+ "compositePrimaryKeys": {},
343
+ "uniqueConstraints": {},
344
+ "checkConstraints": {}
345
+ },
346
+ "chat_session_resources": {
347
+ "name": "chat_session_resources",
348
+ "columns": {
349
+ "session_id": {
350
+ "name": "session_id",
351
+ "type": "text",
352
+ "primaryKey": false,
353
+ "notNull": true,
354
+ "autoincrement": false
355
+ },
356
+ "resource_id": {
357
+ "name": "resource_id",
358
+ "type": "text",
359
+ "primaryKey": false,
360
+ "notNull": true,
361
+ "autoincrement": false
362
+ }
363
+ },
364
+ "indexes": {},
365
+ "foreignKeys": {
366
+ "chat_session_resources_session_id_chat_sessions_id_fk": {
367
+ "name": "chat_session_resources_session_id_chat_sessions_id_fk",
368
+ "tableFrom": "chat_session_resources",
369
+ "tableTo": "chat_sessions",
370
+ "columnsFrom": [
371
+ "session_id"
372
+ ],
373
+ "columnsTo": [
374
+ "id"
375
+ ],
376
+ "onDelete": "cascade",
377
+ "onUpdate": "no action"
378
+ },
379
+ "chat_session_resources_resource_id_resources_id_fk": {
380
+ "name": "chat_session_resources_resource_id_resources_id_fk",
381
+ "tableFrom": "chat_session_resources",
382
+ "tableTo": "resources",
383
+ "columnsFrom": [
384
+ "resource_id"
385
+ ],
386
+ "columnsTo": [
387
+ "id"
388
+ ],
389
+ "onDelete": "cascade",
390
+ "onUpdate": "no action"
391
+ }
392
+ },
393
+ "compositePrimaryKeys": {},
394
+ "uniqueConstraints": {},
395
+ "checkConstraints": {}
396
+ },
397
+ "chat_sessions": {
398
+ "name": "chat_sessions",
399
+ "columns": {
400
+ "id": {
401
+ "name": "id",
402
+ "type": "text",
403
+ "primaryKey": true,
404
+ "notNull": true,
405
+ "autoincrement": false
406
+ },
407
+ "mentor_id": {
408
+ "name": "mentor_id",
409
+ "type": "text",
410
+ "primaryKey": false,
411
+ "notNull": true,
412
+ "autoincrement": false
413
+ },
414
+ "mentor_username": {
415
+ "name": "mentor_username",
416
+ "type": "text",
417
+ "primaryKey": false,
418
+ "notNull": true,
419
+ "autoincrement": false
420
+ },
421
+ "session_type": {
422
+ "name": "session_type",
423
+ "type": "text",
424
+ "primaryKey": false,
425
+ "notNull": false,
426
+ "autoincrement": false,
427
+ "default": "'one_on_one'"
428
+ },
429
+ "issue_id": {
430
+ "name": "issue_id",
431
+ "type": "text",
432
+ "primaryKey": false,
433
+ "notNull": false,
434
+ "autoincrement": false
435
+ },
436
+ "repo_name": {
437
+ "name": "repo_name",
438
+ "type": "text",
439
+ "primaryKey": false,
440
+ "notNull": false,
441
+ "autoincrement": false
442
+ },
443
+ "topic": {
444
+ "name": "topic",
445
+ "type": "text",
446
+ "primaryKey": false,
447
+ "notNull": false,
448
+ "autoincrement": false
449
+ },
450
+ "status": {
451
+ "name": "status",
452
+ "type": "text",
453
+ "primaryKey": false,
454
+ "notNull": false,
455
+ "autoincrement": false,
456
+ "default": "'active'"
457
+ },
458
+ "started_at": {
459
+ "name": "started_at",
460
+ "type": "text",
461
+ "primaryKey": false,
462
+ "notNull": true,
463
+ "autoincrement": false
464
+ },
465
+ "ended_at": {
466
+ "name": "ended_at",
467
+ "type": "text",
468
+ "primaryKey": false,
469
+ "notNull": false,
470
+ "autoincrement": false
471
+ },
472
+ "last_activity_at": {
473
+ "name": "last_activity_at",
474
+ "type": "text",
475
+ "primaryKey": false,
476
+ "notNull": true,
477
+ "autoincrement": false
478
+ },
479
+ "summary": {
480
+ "name": "summary",
481
+ "type": "text",
482
+ "primaryKey": false,
483
+ "notNull": false,
484
+ "autoincrement": false
485
+ },
486
+ "message_count": {
487
+ "name": "message_count",
488
+ "type": "integer",
489
+ "primaryKey": false,
490
+ "notNull": false,
491
+ "autoincrement": false,
492
+ "default": 0
493
+ },
494
+ "duration_minutes": {
495
+ "name": "duration_minutes",
496
+ "type": "integer",
497
+ "primaryKey": false,
498
+ "notNull": false,
499
+ "autoincrement": false,
500
+ "default": 0
501
+ }
502
+ },
503
+ "indexes": {},
504
+ "foreignKeys": {
505
+ "chat_sessions_mentor_id_users_id_fk": {
506
+ "name": "chat_sessions_mentor_id_users_id_fk",
507
+ "tableFrom": "chat_sessions",
508
+ "tableTo": "users",
509
+ "columnsFrom": [
510
+ "mentor_id"
511
+ ],
512
+ "columnsTo": [
513
+ "id"
514
+ ],
515
+ "onDelete": "no action",
516
+ "onUpdate": "no action"
517
+ }
518
+ },
519
+ "compositePrimaryKeys": {},
520
+ "uniqueConstraints": {},
521
+ "checkConstraints": {}
522
+ },
523
+ "global_chat_messages": {
524
+ "name": "global_chat_messages",
525
+ "columns": {
526
+ "id": {
527
+ "name": "id",
528
+ "type": "text",
529
+ "primaryKey": true,
530
+ "notNull": true,
531
+ "autoincrement": false
532
+ },
533
+ "sender_id": {
534
+ "name": "sender_id",
535
+ "type": "text",
536
+ "primaryKey": false,
537
+ "notNull": true,
538
+ "autoincrement": false
539
+ },
540
+ "sender_username": {
541
+ "name": "sender_username",
542
+ "type": "text",
543
+ "primaryKey": false,
544
+ "notNull": true,
545
+ "autoincrement": false
546
+ },
547
+ "sender_avatar_url": {
548
+ "name": "sender_avatar_url",
549
+ "type": "text",
550
+ "primaryKey": false,
551
+ "notNull": false,
552
+ "autoincrement": false
553
+ },
554
+ "content": {
555
+ "name": "content",
556
+ "type": "text",
557
+ "primaryKey": false,
558
+ "notNull": true,
559
+ "autoincrement": false
560
+ },
561
+ "timestamp": {
562
+ "name": "timestamp",
563
+ "type": "text",
564
+ "primaryKey": false,
565
+ "notNull": true,
566
+ "autoincrement": false
567
+ }
568
+ },
569
+ "indexes": {},
570
+ "foreignKeys": {
571
+ "global_chat_messages_sender_id_users_id_fk": {
572
+ "name": "global_chat_messages_sender_id_users_id_fk",
573
+ "tableFrom": "global_chat_messages",
574
+ "tableTo": "users",
575
+ "columnsFrom": [
576
+ "sender_id"
577
+ ],
578
+ "columnsTo": [
579
+ "id"
580
+ ],
581
+ "onDelete": "cascade",
582
+ "onUpdate": "no action"
583
+ }
584
+ },
585
+ "compositePrimaryKeys": {},
586
+ "uniqueConstraints": {},
587
+ "checkConstraints": {}
588
+ },
589
+ "issue_chat_messages": {
590
+ "name": "issue_chat_messages",
591
+ "columns": {
592
+ "id": {
593
+ "name": "id",
594
+ "type": "text",
595
+ "primaryKey": true,
596
+ "notNull": true,
597
+ "autoincrement": false
598
+ },
599
+ "issue_chat_id": {
600
+ "name": "issue_chat_id",
601
+ "type": "text",
602
+ "primaryKey": false,
603
+ "notNull": true,
604
+ "autoincrement": false
605
+ },
606
+ "role": {
607
+ "name": "role",
608
+ "type": "text",
609
+ "primaryKey": false,
610
+ "notNull": true,
611
+ "autoincrement": false
612
+ },
613
+ "content": {
614
+ "name": "content",
615
+ "type": "text",
616
+ "primaryKey": false,
617
+ "notNull": true,
618
+ "autoincrement": false
619
+ },
620
+ "timestamp": {
621
+ "name": "timestamp",
622
+ "type": "text",
623
+ "primaryKey": false,
624
+ "notNull": true,
625
+ "autoincrement": false
626
+ },
627
+ "github_comment_id": {
628
+ "name": "github_comment_id",
629
+ "type": "text",
630
+ "primaryKey": false,
631
+ "notNull": false,
632
+ "autoincrement": false
633
+ },
634
+ "github_comment_url": {
635
+ "name": "github_comment_url",
636
+ "type": "text",
637
+ "primaryKey": false,
638
+ "notNull": false,
639
+ "autoincrement": false
640
+ }
641
+ },
642
+ "indexes": {},
643
+ "foreignKeys": {
644
+ "issue_chat_messages_issue_chat_id_issue_chats_id_fk": {
645
+ "name": "issue_chat_messages_issue_chat_id_issue_chats_id_fk",
646
+ "tableFrom": "issue_chat_messages",
647
+ "tableTo": "issue_chats",
648
+ "columnsFrom": [
649
+ "issue_chat_id"
650
+ ],
651
+ "columnsTo": [
652
+ "id"
653
+ ],
654
+ "onDelete": "cascade",
655
+ "onUpdate": "no action"
656
+ }
657
+ },
658
+ "compositePrimaryKeys": {},
659
+ "uniqueConstraints": {},
660
+ "checkConstraints": {}
661
+ },
662
+ "issue_chats": {
663
+ "name": "issue_chats",
664
+ "columns": {
665
+ "id": {
666
+ "name": "id",
667
+ "type": "text",
668
+ "primaryKey": true,
669
+ "notNull": true,
670
+ "autoincrement": false
671
+ },
672
+ "issue_id": {
673
+ "name": "issue_id",
674
+ "type": "text",
675
+ "primaryKey": false,
676
+ "notNull": true,
677
+ "autoincrement": false
678
+ },
679
+ "user_id": {
680
+ "name": "user_id",
681
+ "type": "text",
682
+ "primaryKey": false,
683
+ "notNull": true,
684
+ "autoincrement": false
685
+ },
686
+ "session_id": {
687
+ "name": "session_id",
688
+ "type": "text",
689
+ "primaryKey": false,
690
+ "notNull": true,
691
+ "autoincrement": false
692
+ },
693
+ "created_at": {
694
+ "name": "created_at",
695
+ "type": "text",
696
+ "primaryKey": false,
697
+ "notNull": true,
698
+ "autoincrement": false
699
+ },
700
+ "updated_at": {
701
+ "name": "updated_at",
702
+ "type": "text",
703
+ "primaryKey": false,
704
+ "notNull": true,
705
+ "autoincrement": false
706
+ }
707
+ },
708
+ "indexes": {},
709
+ "foreignKeys": {
710
+ "issue_chats_issue_id_issues_id_fk": {
711
+ "name": "issue_chats_issue_id_issues_id_fk",
712
+ "tableFrom": "issue_chats",
713
+ "tableTo": "issues",
714
+ "columnsFrom": [
715
+ "issue_id"
716
+ ],
717
+ "columnsTo": [
718
+ "id"
719
+ ],
720
+ "onDelete": "cascade",
721
+ "onUpdate": "no action"
722
+ },
723
+ "issue_chats_user_id_users_id_fk": {
724
+ "name": "issue_chats_user_id_users_id_fk",
725
+ "tableFrom": "issue_chats",
726
+ "tableTo": "users",
727
+ "columnsFrom": [
728
+ "user_id"
729
+ ],
730
+ "columnsTo": [
731
+ "id"
732
+ ],
733
+ "onDelete": "cascade",
734
+ "onUpdate": "no action"
735
+ }
736
+ },
737
+ "compositePrimaryKeys": {},
738
+ "uniqueConstraints": {},
739
+ "checkConstraints": {}
740
+ },
741
+ "issues": {
742
+ "name": "issues",
743
+ "columns": {
744
+ "id": {
745
+ "name": "id",
746
+ "type": "text",
747
+ "primaryKey": true,
748
+ "notNull": true,
749
+ "autoincrement": false
750
+ },
751
+ "github_issue_id": {
752
+ "name": "github_issue_id",
753
+ "type": "integer",
754
+ "primaryKey": false,
755
+ "notNull": true,
756
+ "autoincrement": false
757
+ },
758
+ "number": {
759
+ "name": "number",
760
+ "type": "integer",
761
+ "primaryKey": false,
762
+ "notNull": true,
763
+ "autoincrement": false
764
+ },
765
+ "title": {
766
+ "name": "title",
767
+ "type": "text",
768
+ "primaryKey": false,
769
+ "notNull": true,
770
+ "autoincrement": false
771
+ },
772
+ "body": {
773
+ "name": "body",
774
+ "type": "text",
775
+ "primaryKey": false,
776
+ "notNull": false,
777
+ "autoincrement": false
778
+ },
779
+ "body_summary": {
780
+ "name": "body_summary",
781
+ "type": "text",
782
+ "primaryKey": false,
783
+ "notNull": false,
784
+ "autoincrement": false
785
+ },
786
+ "author_name": {
787
+ "name": "author_name",
788
+ "type": "text",
789
+ "primaryKey": false,
790
+ "notNull": true,
791
+ "autoincrement": false
792
+ },
793
+ "repo_id": {
794
+ "name": "repo_id",
795
+ "type": "text",
796
+ "primaryKey": false,
797
+ "notNull": true,
798
+ "autoincrement": false
799
+ },
800
+ "repo_name": {
801
+ "name": "repo_name",
802
+ "type": "text",
803
+ "primaryKey": false,
804
+ "notNull": true,
805
+ "autoincrement": false
806
+ },
807
+ "owner": {
808
+ "name": "owner",
809
+ "type": "text",
810
+ "primaryKey": false,
811
+ "notNull": false,
812
+ "autoincrement": false
813
+ },
814
+ "repo": {
815
+ "name": "repo",
816
+ "type": "text",
817
+ "primaryKey": false,
818
+ "notNull": false,
819
+ "autoincrement": false
820
+ },
821
+ "html_url": {
822
+ "name": "html_url",
823
+ "type": "text",
824
+ "primaryKey": false,
825
+ "notNull": false,
826
+ "autoincrement": false
827
+ },
828
+ "state": {
829
+ "name": "state",
830
+ "type": "text",
831
+ "primaryKey": false,
832
+ "notNull": true,
833
+ "autoincrement": false,
834
+ "default": "'open'"
835
+ },
836
+ "is_pr": {
837
+ "name": "is_pr",
838
+ "type": "integer",
839
+ "primaryKey": false,
840
+ "notNull": true,
841
+ "autoincrement": false,
842
+ "default": false
843
+ },
844
+ "author_association": {
845
+ "name": "author_association",
846
+ "type": "text",
847
+ "primaryKey": false,
848
+ "notNull": false,
849
+ "autoincrement": false
850
+ },
851
+ "head_sha": {
852
+ "name": "head_sha",
853
+ "type": "text",
854
+ "primaryKey": false,
855
+ "notNull": false,
856
+ "autoincrement": false
857
+ },
858
+ "updated_at": {
859
+ "name": "updated_at",
860
+ "type": "text",
861
+ "primaryKey": false,
862
+ "notNull": false,
863
+ "autoincrement": false
864
+ },
865
+ "created_at": {
866
+ "name": "created_at",
867
+ "type": "text",
868
+ "primaryKey": false,
869
+ "notNull": true,
870
+ "autoincrement": false
871
+ }
872
+ },
873
+ "indexes": {},
874
+ "foreignKeys": {
875
+ "issues_repo_id_repositories_id_fk": {
876
+ "name": "issues_repo_id_repositories_id_fk",
877
+ "tableFrom": "issues",
878
+ "tableTo": "repositories",
879
+ "columnsFrom": [
880
+ "repo_id"
881
+ ],
882
+ "columnsTo": [
883
+ "id"
884
+ ],
885
+ "onDelete": "no action",
886
+ "onUpdate": "no action"
887
+ }
888
+ },
889
+ "compositePrimaryKeys": {},
890
+ "uniqueConstraints": {},
891
+ "checkConstraints": {}
892
+ },
893
+ "mentor_frameworks": {
894
+ "name": "mentor_frameworks",
895
+ "columns": {
896
+ "mentor_id": {
897
+ "name": "mentor_id",
898
+ "type": "text",
899
+ "primaryKey": false,
900
+ "notNull": true,
901
+ "autoincrement": false
902
+ },
903
+ "framework": {
904
+ "name": "framework",
905
+ "type": "text",
906
+ "primaryKey": false,
907
+ "notNull": true,
908
+ "autoincrement": false
909
+ }
910
+ },
911
+ "indexes": {},
912
+ "foreignKeys": {
913
+ "mentor_frameworks_mentor_id_mentors_id_fk": {
914
+ "name": "mentor_frameworks_mentor_id_mentors_id_fk",
915
+ "tableFrom": "mentor_frameworks",
916
+ "tableTo": "mentors",
917
+ "columnsFrom": [
918
+ "mentor_id"
919
+ ],
920
+ "columnsTo": [
921
+ "id"
922
+ ],
923
+ "onDelete": "cascade",
924
+ "onUpdate": "no action"
925
+ }
926
+ },
927
+ "compositePrimaryKeys": {},
928
+ "uniqueConstraints": {},
929
+ "checkConstraints": {}
930
+ },
931
+ "mentor_languages": {
932
+ "name": "mentor_languages",
933
+ "columns": {
934
+ "mentor_id": {
935
+ "name": "mentor_id",
936
+ "type": "text",
937
+ "primaryKey": false,
938
+ "notNull": true,
939
+ "autoincrement": false
940
+ },
941
+ "language": {
942
+ "name": "language",
943
+ "type": "text",
944
+ "primaryKey": false,
945
+ "notNull": true,
946
+ "autoincrement": false
947
+ }
948
+ },
949
+ "indexes": {},
950
+ "foreignKeys": {
951
+ "mentor_languages_mentor_id_mentors_id_fk": {
952
+ "name": "mentor_languages_mentor_id_mentors_id_fk",
953
+ "tableFrom": "mentor_languages",
954
+ "tableTo": "mentors",
955
+ "columnsFrom": [
956
+ "mentor_id"
957
+ ],
958
+ "columnsTo": [
959
+ "id"
960
+ ],
961
+ "onDelete": "cascade",
962
+ "onUpdate": "no action"
963
+ }
964
+ },
965
+ "compositePrimaryKeys": {},
966
+ "uniqueConstraints": {},
967
+ "checkConstraints": {}
968
+ },
969
+ "mentor_match_skills": {
970
+ "name": "mentor_match_skills",
971
+ "columns": {
972
+ "match_id": {
973
+ "name": "match_id",
974
+ "type": "text",
975
+ "primaryKey": false,
976
+ "notNull": true,
977
+ "autoincrement": false
978
+ },
979
+ "skill": {
980
+ "name": "skill",
981
+ "type": "text",
982
+ "primaryKey": false,
983
+ "notNull": true,
984
+ "autoincrement": false
985
+ }
986
+ },
987
+ "indexes": {},
988
+ "foreignKeys": {
989
+ "mentor_match_skills_match_id_mentor_matches_id_fk": {
990
+ "name": "mentor_match_skills_match_id_mentor_matches_id_fk",
991
+ "tableFrom": "mentor_match_skills",
992
+ "tableTo": "mentor_matches",
993
+ "columnsFrom": [
994
+ "match_id"
995
+ ],
996
+ "columnsTo": [
997
+ "id"
998
+ ],
999
+ "onDelete": "cascade",
1000
+ "onUpdate": "no action"
1001
+ }
1002
+ },
1003
+ "compositePrimaryKeys": {},
1004
+ "uniqueConstraints": {},
1005
+ "checkConstraints": {}
1006
+ },
1007
+ "mentor_matches": {
1008
+ "name": "mentor_matches",
1009
+ "columns": {
1010
+ "id": {
1011
+ "name": "id",
1012
+ "type": "text",
1013
+ "primaryKey": true,
1014
+ "notNull": true,
1015
+ "autoincrement": false
1016
+ },
1017
+ "mentor_id": {
1018
+ "name": "mentor_id",
1019
+ "type": "text",
1020
+ "primaryKey": false,
1021
+ "notNull": true,
1022
+ "autoincrement": false
1023
+ },
1024
+ "mentor_username": {
1025
+ "name": "mentor_username",
1026
+ "type": "text",
1027
+ "primaryKey": false,
1028
+ "notNull": true,
1029
+ "autoincrement": false
1030
+ },
1031
+ "mentee_id": {
1032
+ "name": "mentee_id",
1033
+ "type": "text",
1034
+ "primaryKey": false,
1035
+ "notNull": true,
1036
+ "autoincrement": false
1037
+ },
1038
+ "mentee_username": {
1039
+ "name": "mentee_username",
1040
+ "type": "text",
1041
+ "primaryKey": false,
1042
+ "notNull": true,
1043
+ "autoincrement": false
1044
+ },
1045
+ "compatibility_score": {
1046
+ "name": "compatibility_score",
1047
+ "type": "real",
1048
+ "primaryKey": false,
1049
+ "notNull": true,
1050
+ "autoincrement": false
1051
+ },
1052
+ "match_reason": {
1053
+ "name": "match_reason",
1054
+ "type": "text",
1055
+ "primaryKey": false,
1056
+ "notNull": false,
1057
+ "autoincrement": false
1058
+ },
1059
+ "issue_id": {
1060
+ "name": "issue_id",
1061
+ "type": "text",
1062
+ "primaryKey": false,
1063
+ "notNull": false,
1064
+ "autoincrement": false
1065
+ },
1066
+ "repo_name": {
1067
+ "name": "repo_name",
1068
+ "type": "text",
1069
+ "primaryKey": false,
1070
+ "notNull": false,
1071
+ "autoincrement": false
1072
+ },
1073
+ "status": {
1074
+ "name": "status",
1075
+ "type": "text",
1076
+ "primaryKey": false,
1077
+ "notNull": false,
1078
+ "autoincrement": false,
1079
+ "default": "'suggested'"
1080
+ },
1081
+ "created_at": {
1082
+ "name": "created_at",
1083
+ "type": "text",
1084
+ "primaryKey": false,
1085
+ "notNull": true,
1086
+ "autoincrement": false
1087
+ }
1088
+ },
1089
+ "indexes": {},
1090
+ "foreignKeys": {
1091
+ "mentor_matches_mentor_id_mentors_id_fk": {
1092
+ "name": "mentor_matches_mentor_id_mentors_id_fk",
1093
+ "tableFrom": "mentor_matches",
1094
+ "tableTo": "mentors",
1095
+ "columnsFrom": [
1096
+ "mentor_id"
1097
+ ],
1098
+ "columnsTo": [
1099
+ "id"
1100
+ ],
1101
+ "onDelete": "cascade",
1102
+ "onUpdate": "no action"
1103
+ },
1104
+ "mentor_matches_mentee_id_users_id_fk": {
1105
+ "name": "mentor_matches_mentee_id_users_id_fk",
1106
+ "tableFrom": "mentor_matches",
1107
+ "tableTo": "users",
1108
+ "columnsFrom": [
1109
+ "mentee_id"
1110
+ ],
1111
+ "columnsTo": [
1112
+ "id"
1113
+ ],
1114
+ "onDelete": "cascade",
1115
+ "onUpdate": "no action"
1116
+ }
1117
+ },
1118
+ "compositePrimaryKeys": {},
1119
+ "uniqueConstraints": {},
1120
+ "checkConstraints": {}
1121
+ },
1122
+ "mentor_preferred_topics": {
1123
+ "name": "mentor_preferred_topics",
1124
+ "columns": {
1125
+ "mentor_id": {
1126
+ "name": "mentor_id",
1127
+ "type": "text",
1128
+ "primaryKey": false,
1129
+ "notNull": true,
1130
+ "autoincrement": false
1131
+ },
1132
+ "topic": {
1133
+ "name": "topic",
1134
+ "type": "text",
1135
+ "primaryKey": false,
1136
+ "notNull": true,
1137
+ "autoincrement": false
1138
+ }
1139
+ },
1140
+ "indexes": {},
1141
+ "foreignKeys": {
1142
+ "mentor_preferred_topics_mentor_id_mentors_id_fk": {
1143
+ "name": "mentor_preferred_topics_mentor_id_mentors_id_fk",
1144
+ "tableFrom": "mentor_preferred_topics",
1145
+ "tableTo": "mentors",
1146
+ "columnsFrom": [
1147
+ "mentor_id"
1148
+ ],
1149
+ "columnsTo": [
1150
+ "id"
1151
+ ],
1152
+ "onDelete": "cascade",
1153
+ "onUpdate": "no action"
1154
+ }
1155
+ },
1156
+ "compositePrimaryKeys": {},
1157
+ "uniqueConstraints": {},
1158
+ "checkConstraints": {}
1159
+ },
1160
+ "mentor_ratings": {
1161
+ "name": "mentor_ratings",
1162
+ "columns": {
1163
+ "id": {
1164
+ "name": "id",
1165
+ "type": "text",
1166
+ "primaryKey": true,
1167
+ "notNull": true,
1168
+ "autoincrement": false
1169
+ },
1170
+ "mentor_id": {
1171
+ "name": "mentor_id",
1172
+ "type": "text",
1173
+ "primaryKey": false,
1174
+ "notNull": true,
1175
+ "autoincrement": false
1176
+ },
1177
+ "mentee_id": {
1178
+ "name": "mentee_id",
1179
+ "type": "text",
1180
+ "primaryKey": false,
1181
+ "notNull": true,
1182
+ "autoincrement": false
1183
+ },
1184
+ "session_id": {
1185
+ "name": "session_id",
1186
+ "type": "text",
1187
+ "primaryKey": false,
1188
+ "notNull": false,
1189
+ "autoincrement": false
1190
+ },
1191
+ "rating": {
1192
+ "name": "rating",
1193
+ "type": "integer",
1194
+ "primaryKey": false,
1195
+ "notNull": true,
1196
+ "autoincrement": false
1197
+ },
1198
+ "feedback": {
1199
+ "name": "feedback",
1200
+ "type": "text",
1201
+ "primaryKey": false,
1202
+ "notNull": false,
1203
+ "autoincrement": false
1204
+ },
1205
+ "created_at": {
1206
+ "name": "created_at",
1207
+ "type": "text",
1208
+ "primaryKey": false,
1209
+ "notNull": true,
1210
+ "autoincrement": false
1211
+ }
1212
+ },
1213
+ "indexes": {},
1214
+ "foreignKeys": {
1215
+ "mentor_ratings_mentor_id_mentors_id_fk": {
1216
+ "name": "mentor_ratings_mentor_id_mentors_id_fk",
1217
+ "tableFrom": "mentor_ratings",
1218
+ "tableTo": "mentors",
1219
+ "columnsFrom": [
1220
+ "mentor_id"
1221
+ ],
1222
+ "columnsTo": [
1223
+ "id"
1224
+ ],
1225
+ "onDelete": "cascade",
1226
+ "onUpdate": "no action"
1227
+ },
1228
+ "mentor_ratings_mentee_id_users_id_fk": {
1229
+ "name": "mentor_ratings_mentee_id_users_id_fk",
1230
+ "tableFrom": "mentor_ratings",
1231
+ "tableTo": "users",
1232
+ "columnsFrom": [
1233
+ "mentee_id"
1234
+ ],
1235
+ "columnsTo": [
1236
+ "id"
1237
+ ],
1238
+ "onDelete": "cascade",
1239
+ "onUpdate": "no action"
1240
+ }
1241
+ },
1242
+ "compositePrimaryKeys": {},
1243
+ "uniqueConstraints": {},
1244
+ "checkConstraints": {}
1245
+ },
1246
+ "mentor_tech_stack": {
1247
+ "name": "mentor_tech_stack",
1248
+ "columns": {
1249
+ "mentor_id": {
1250
+ "name": "mentor_id",
1251
+ "type": "text",
1252
+ "primaryKey": false,
1253
+ "notNull": true,
1254
+ "autoincrement": false
1255
+ },
1256
+ "tech": {
1257
+ "name": "tech",
1258
+ "type": "text",
1259
+ "primaryKey": false,
1260
+ "notNull": true,
1261
+ "autoincrement": false
1262
+ }
1263
+ },
1264
+ "indexes": {},
1265
+ "foreignKeys": {
1266
+ "mentor_tech_stack_mentor_id_mentors_id_fk": {
1267
+ "name": "mentor_tech_stack_mentor_id_mentors_id_fk",
1268
+ "tableFrom": "mentor_tech_stack",
1269
+ "tableTo": "mentors",
1270
+ "columnsFrom": [
1271
+ "mentor_id"
1272
+ ],
1273
+ "columnsTo": [
1274
+ "id"
1275
+ ],
1276
+ "onDelete": "cascade",
1277
+ "onUpdate": "no action"
1278
+ }
1279
+ },
1280
+ "compositePrimaryKeys": {},
1281
+ "uniqueConstraints": {},
1282
+ "checkConstraints": {}
1283
+ },
1284
+ "mentors": {
1285
+ "name": "mentors",
1286
+ "columns": {
1287
+ "id": {
1288
+ "name": "id",
1289
+ "type": "text",
1290
+ "primaryKey": true,
1291
+ "notNull": true,
1292
+ "autoincrement": false
1293
+ },
1294
+ "user_id": {
1295
+ "name": "user_id",
1296
+ "type": "text",
1297
+ "primaryKey": false,
1298
+ "notNull": true,
1299
+ "autoincrement": false
1300
+ },
1301
+ "username": {
1302
+ "name": "username",
1303
+ "type": "text",
1304
+ "primaryKey": false,
1305
+ "notNull": true,
1306
+ "autoincrement": false
1307
+ },
1308
+ "expertise_level": {
1309
+ "name": "expertise_level",
1310
+ "type": "text",
1311
+ "primaryKey": false,
1312
+ "notNull": false,
1313
+ "autoincrement": false,
1314
+ "default": "'intermediate'"
1315
+ },
1316
+ "availability_hours_per_week": {
1317
+ "name": "availability_hours_per_week",
1318
+ "type": "integer",
1319
+ "primaryKey": false,
1320
+ "notNull": false,
1321
+ "autoincrement": false,
1322
+ "default": 5
1323
+ },
1324
+ "timezone": {
1325
+ "name": "timezone",
1326
+ "type": "text",
1327
+ "primaryKey": false,
1328
+ "notNull": false,
1329
+ "autoincrement": false
1330
+ },
1331
+ "is_active": {
1332
+ "name": "is_active",
1333
+ "type": "integer",
1334
+ "primaryKey": false,
1335
+ "notNull": false,
1336
+ "autoincrement": false,
1337
+ "default": true
1338
+ },
1339
+ "bio": {
1340
+ "name": "bio",
1341
+ "type": "text",
1342
+ "primaryKey": false,
1343
+ "notNull": false,
1344
+ "autoincrement": false
1345
+ },
1346
+ "avatar_url": {
1347
+ "name": "avatar_url",
1348
+ "type": "text",
1349
+ "primaryKey": false,
1350
+ "notNull": false,
1351
+ "autoincrement": false
1352
+ },
1353
+ "mentee_count": {
1354
+ "name": "mentee_count",
1355
+ "type": "integer",
1356
+ "primaryKey": false,
1357
+ "notNull": false,
1358
+ "autoincrement": false,
1359
+ "default": 0
1360
+ },
1361
+ "sessions_completed": {
1362
+ "name": "sessions_completed",
1363
+ "type": "integer",
1364
+ "primaryKey": false,
1365
+ "notNull": false,
1366
+ "autoincrement": false,
1367
+ "default": 0
1368
+ },
1369
+ "avg_rating": {
1370
+ "name": "avg_rating",
1371
+ "type": "real",
1372
+ "primaryKey": false,
1373
+ "notNull": false,
1374
+ "autoincrement": false,
1375
+ "default": 0
1376
+ },
1377
+ "total_ratings": {
1378
+ "name": "total_ratings",
1379
+ "type": "integer",
1380
+ "primaryKey": false,
1381
+ "notNull": false,
1382
+ "autoincrement": false,
1383
+ "default": 0
1384
+ },
1385
+ "max_mentees": {
1386
+ "name": "max_mentees",
1387
+ "type": "integer",
1388
+ "primaryKey": false,
1389
+ "notNull": false,
1390
+ "autoincrement": false,
1391
+ "default": 3
1392
+ },
1393
+ "created_at": {
1394
+ "name": "created_at",
1395
+ "type": "text",
1396
+ "primaryKey": false,
1397
+ "notNull": true,
1398
+ "autoincrement": false
1399
+ },
1400
+ "updated_at": {
1401
+ "name": "updated_at",
1402
+ "type": "text",
1403
+ "primaryKey": false,
1404
+ "notNull": true,
1405
+ "autoincrement": false
1406
+ }
1407
+ },
1408
+ "indexes": {},
1409
+ "foreignKeys": {
1410
+ "mentors_user_id_users_id_fk": {
1411
+ "name": "mentors_user_id_users_id_fk",
1412
+ "tableFrom": "mentors",
1413
+ "tableTo": "users",
1414
+ "columnsFrom": [
1415
+ "user_id"
1416
+ ],
1417
+ "columnsTo": [
1418
+ "id"
1419
+ ],
1420
+ "onDelete": "cascade",
1421
+ "onUpdate": "no action"
1422
+ }
1423
+ },
1424
+ "compositePrimaryKeys": {},
1425
+ "uniqueConstraints": {},
1426
+ "checkConstraints": {}
1427
+ },
1428
+ "mentorship_requests": {
1429
+ "name": "mentorship_requests",
1430
+ "columns": {
1431
+ "id": {
1432
+ "name": "id",
1433
+ "type": "text",
1434
+ "primaryKey": true,
1435
+ "notNull": true,
1436
+ "autoincrement": false
1437
+ },
1438
+ "mentee_id": {
1439
+ "name": "mentee_id",
1440
+ "type": "text",
1441
+ "primaryKey": false,
1442
+ "notNull": true,
1443
+ "autoincrement": false
1444
+ },
1445
+ "mentee_username": {
1446
+ "name": "mentee_username",
1447
+ "type": "text",
1448
+ "primaryKey": false,
1449
+ "notNull": false,
1450
+ "autoincrement": false
1451
+ },
1452
+ "mentor_id": {
1453
+ "name": "mentor_id",
1454
+ "type": "text",
1455
+ "primaryKey": false,
1456
+ "notNull": true,
1457
+ "autoincrement": false
1458
+ },
1459
+ "mentor_username": {
1460
+ "name": "mentor_username",
1461
+ "type": "text",
1462
+ "primaryKey": false,
1463
+ "notNull": false,
1464
+ "autoincrement": false
1465
+ },
1466
+ "issue_id": {
1467
+ "name": "issue_id",
1468
+ "type": "text",
1469
+ "primaryKey": false,
1470
+ "notNull": false,
1471
+ "autoincrement": false
1472
+ },
1473
+ "message": {
1474
+ "name": "message",
1475
+ "type": "text",
1476
+ "primaryKey": false,
1477
+ "notNull": false,
1478
+ "autoincrement": false
1479
+ },
1480
+ "status": {
1481
+ "name": "status",
1482
+ "type": "text",
1483
+ "primaryKey": false,
1484
+ "notNull": false,
1485
+ "autoincrement": false,
1486
+ "default": "'pending'"
1487
+ },
1488
+ "created_at": {
1489
+ "name": "created_at",
1490
+ "type": "text",
1491
+ "primaryKey": false,
1492
+ "notNull": true,
1493
+ "autoincrement": false
1494
+ }
1495
+ },
1496
+ "indexes": {},
1497
+ "foreignKeys": {
1498
+ "mentorship_requests_mentee_id_users_id_fk": {
1499
+ "name": "mentorship_requests_mentee_id_users_id_fk",
1500
+ "tableFrom": "mentorship_requests",
1501
+ "tableTo": "users",
1502
+ "columnsFrom": [
1503
+ "mentee_id"
1504
+ ],
1505
+ "columnsTo": [
1506
+ "id"
1507
+ ],
1508
+ "onDelete": "cascade",
1509
+ "onUpdate": "no action"
1510
+ },
1511
+ "mentorship_requests_mentor_id_mentors_id_fk": {
1512
+ "name": "mentorship_requests_mentor_id_mentors_id_fk",
1513
+ "tableFrom": "mentorship_requests",
1514
+ "tableTo": "mentors",
1515
+ "columnsFrom": [
1516
+ "mentor_id"
1517
+ ],
1518
+ "columnsTo": [
1519
+ "id"
1520
+ ],
1521
+ "onDelete": "cascade",
1522
+ "onUpdate": "no action"
1523
+ }
1524
+ },
1525
+ "compositePrimaryKeys": {},
1526
+ "uniqueConstraints": {},
1527
+ "checkConstraints": {}
1528
+ },
1529
+ "messages": {
1530
+ "name": "messages",
1531
+ "columns": {
1532
+ "id": {
1533
+ "name": "id",
1534
+ "type": "text",
1535
+ "primaryKey": true,
1536
+ "notNull": true,
1537
+ "autoincrement": false
1538
+ },
1539
+ "sender_id": {
1540
+ "name": "sender_id",
1541
+ "type": "text",
1542
+ "primaryKey": false,
1543
+ "notNull": true,
1544
+ "autoincrement": false
1545
+ },
1546
+ "receiver_id": {
1547
+ "name": "receiver_id",
1548
+ "type": "text",
1549
+ "primaryKey": false,
1550
+ "notNull": true,
1551
+ "autoincrement": false
1552
+ },
1553
+ "content": {
1554
+ "name": "content",
1555
+ "type": "text",
1556
+ "primaryKey": false,
1557
+ "notNull": true,
1558
+ "autoincrement": false
1559
+ },
1560
+ "read": {
1561
+ "name": "read",
1562
+ "type": "integer",
1563
+ "primaryKey": false,
1564
+ "notNull": false,
1565
+ "autoincrement": false,
1566
+ "default": false
1567
+ },
1568
+ "timestamp": {
1569
+ "name": "timestamp",
1570
+ "type": "text",
1571
+ "primaryKey": false,
1572
+ "notNull": true,
1573
+ "autoincrement": false
1574
+ },
1575
+ "edited_at": {
1576
+ "name": "edited_at",
1577
+ "type": "text",
1578
+ "primaryKey": false,
1579
+ "notNull": false,
1580
+ "autoincrement": false
1581
+ }
1582
+ },
1583
+ "indexes": {},
1584
+ "foreignKeys": {
1585
+ "messages_sender_id_users_id_fk": {
1586
+ "name": "messages_sender_id_users_id_fk",
1587
+ "tableFrom": "messages",
1588
+ "tableTo": "users",
1589
+ "columnsFrom": [
1590
+ "sender_id"
1591
+ ],
1592
+ "columnsTo": [
1593
+ "id"
1594
+ ],
1595
+ "onDelete": "cascade",
1596
+ "onUpdate": "no action"
1597
+ },
1598
+ "messages_receiver_id_users_id_fk": {
1599
+ "name": "messages_receiver_id_users_id_fk",
1600
+ "tableFrom": "messages",
1601
+ "tableTo": "users",
1602
+ "columnsFrom": [
1603
+ "receiver_id"
1604
+ ],
1605
+ "columnsTo": [
1606
+ "id"
1607
+ ],
1608
+ "onDelete": "cascade",
1609
+ "onUpdate": "no action"
1610
+ }
1611
+ },
1612
+ "compositePrimaryKeys": {},
1613
+ "uniqueConstraints": {},
1614
+ "checkConstraints": {}
1615
+ },
1616
+ "private_resources": {
1617
+ "name": "private_resources",
1618
+ "columns": {
1619
+ "id": {
1620
+ "name": "id",
1621
+ "type": "text",
1622
+ "primaryKey": true,
1623
+ "notNull": true,
1624
+ "autoincrement": false
1625
+ },
1626
+ "issue_id": {
1627
+ "name": "issue_id",
1628
+ "type": "text",
1629
+ "primaryKey": false,
1630
+ "notNull": true,
1631
+ "autoincrement": false
1632
+ },
1633
+ "repo_owner": {
1634
+ "name": "repo_owner",
1635
+ "type": "text",
1636
+ "primaryKey": false,
1637
+ "notNull": true,
1638
+ "autoincrement": false
1639
+ },
1640
+ "pr_author": {
1641
+ "name": "pr_author",
1642
+ "type": "text",
1643
+ "primaryKey": false,
1644
+ "notNull": true,
1645
+ "autoincrement": false
1646
+ },
1647
+ "resource_type": {
1648
+ "name": "resource_type",
1649
+ "type": "text",
1650
+ "primaryKey": false,
1651
+ "notNull": true,
1652
+ "autoincrement": false
1653
+ },
1654
+ "title": {
1655
+ "name": "title",
1656
+ "type": "text",
1657
+ "primaryKey": false,
1658
+ "notNull": true,
1659
+ "autoincrement": false
1660
+ },
1661
+ "content": {
1662
+ "name": "content",
1663
+ "type": "text",
1664
+ "primaryKey": false,
1665
+ "notNull": true,
1666
+ "autoincrement": false
1667
+ },
1668
+ "description": {
1669
+ "name": "description",
1670
+ "type": "text",
1671
+ "primaryKey": false,
1672
+ "notNull": false,
1673
+ "autoincrement": false
1674
+ },
1675
+ "language": {
1676
+ "name": "language",
1677
+ "type": "text",
1678
+ "primaryKey": false,
1679
+ "notNull": false,
1680
+ "autoincrement": false
1681
+ },
1682
+ "shared_by": {
1683
+ "name": "shared_by",
1684
+ "type": "text",
1685
+ "primaryKey": false,
1686
+ "notNull": true,
1687
+ "autoincrement": false
1688
+ },
1689
+ "shared_by_id": {
1690
+ "name": "shared_by_id",
1691
+ "type": "text",
1692
+ "primaryKey": false,
1693
+ "notNull": true,
1694
+ "autoincrement": false
1695
+ },
1696
+ "created_at": {
1697
+ "name": "created_at",
1698
+ "type": "text",
1699
+ "primaryKey": false,
1700
+ "notNull": true,
1701
+ "autoincrement": false
1702
+ },
1703
+ "updated_at": {
1704
+ "name": "updated_at",
1705
+ "type": "text",
1706
+ "primaryKey": false,
1707
+ "notNull": true,
1708
+ "autoincrement": false
1709
+ }
1710
+ },
1711
+ "indexes": {},
1712
+ "foreignKeys": {
1713
+ "private_resources_issue_id_issues_id_fk": {
1714
+ "name": "private_resources_issue_id_issues_id_fk",
1715
+ "tableFrom": "private_resources",
1716
+ "tableTo": "issues",
1717
+ "columnsFrom": [
1718
+ "issue_id"
1719
+ ],
1720
+ "columnsTo": [
1721
+ "id"
1722
+ ],
1723
+ "onDelete": "cascade",
1724
+ "onUpdate": "no action"
1725
+ },
1726
+ "private_resources_shared_by_id_users_id_fk": {
1727
+ "name": "private_resources_shared_by_id_users_id_fk",
1728
+ "tableFrom": "private_resources",
1729
+ "tableTo": "users",
1730
+ "columnsFrom": [
1731
+ "shared_by_id"
1732
+ ],
1733
+ "columnsTo": [
1734
+ "id"
1735
+ ],
1736
+ "onDelete": "no action",
1737
+ "onUpdate": "no action"
1738
+ }
1739
+ },
1740
+ "compositePrimaryKeys": {},
1741
+ "uniqueConstraints": {},
1742
+ "checkConstraints": {}
1743
+ },
1744
+ "profile_connected_repos": {
1745
+ "name": "profile_connected_repos",
1746
+ "columns": {
1747
+ "profile_id": {
1748
+ "name": "profile_id",
1749
+ "type": "text",
1750
+ "primaryKey": false,
1751
+ "notNull": true,
1752
+ "autoincrement": false
1753
+ },
1754
+ "repo_name": {
1755
+ "name": "repo_name",
1756
+ "type": "text",
1757
+ "primaryKey": false,
1758
+ "notNull": true,
1759
+ "autoincrement": false
1760
+ }
1761
+ },
1762
+ "indexes": {},
1763
+ "foreignKeys": {
1764
+ "profile_connected_repos_profile_id_profiles_user_id_fk": {
1765
+ "name": "profile_connected_repos_profile_id_profiles_user_id_fk",
1766
+ "tableFrom": "profile_connected_repos",
1767
+ "tableTo": "profiles",
1768
+ "columnsFrom": [
1769
+ "profile_id"
1770
+ ],
1771
+ "columnsTo": [
1772
+ "user_id"
1773
+ ],
1774
+ "onDelete": "cascade",
1775
+ "onUpdate": "no action"
1776
+ }
1777
+ },
1778
+ "compositePrimaryKeys": {},
1779
+ "uniqueConstraints": {},
1780
+ "checkConstraints": {}
1781
+ },
1782
+ "profile_mentoring_topics": {
1783
+ "name": "profile_mentoring_topics",
1784
+ "columns": {
1785
+ "profile_id": {
1786
+ "name": "profile_id",
1787
+ "type": "text",
1788
+ "primaryKey": false,
1789
+ "notNull": true,
1790
+ "autoincrement": false
1791
+ },
1792
+ "topic": {
1793
+ "name": "topic",
1794
+ "type": "text",
1795
+ "primaryKey": false,
1796
+ "notNull": true,
1797
+ "autoincrement": false
1798
+ }
1799
+ },
1800
+ "indexes": {},
1801
+ "foreignKeys": {
1802
+ "profile_mentoring_topics_profile_id_profiles_user_id_fk": {
1803
+ "name": "profile_mentoring_topics_profile_id_profiles_user_id_fk",
1804
+ "tableFrom": "profile_mentoring_topics",
1805
+ "tableTo": "profiles",
1806
+ "columnsFrom": [
1807
+ "profile_id"
1808
+ ],
1809
+ "columnsTo": [
1810
+ "user_id"
1811
+ ],
1812
+ "onDelete": "cascade",
1813
+ "onUpdate": "no action"
1814
+ }
1815
+ },
1816
+ "compositePrimaryKeys": {},
1817
+ "uniqueConstraints": {},
1818
+ "checkConstraints": {}
1819
+ },
1820
+ "profile_skills": {
1821
+ "name": "profile_skills",
1822
+ "columns": {
1823
+ "profile_id": {
1824
+ "name": "profile_id",
1825
+ "type": "text",
1826
+ "primaryKey": false,
1827
+ "notNull": true,
1828
+ "autoincrement": false
1829
+ },
1830
+ "skill": {
1831
+ "name": "skill",
1832
+ "type": "text",
1833
+ "primaryKey": false,
1834
+ "notNull": true,
1835
+ "autoincrement": false
1836
+ }
1837
+ },
1838
+ "indexes": {},
1839
+ "foreignKeys": {
1840
+ "profile_skills_profile_id_profiles_user_id_fk": {
1841
+ "name": "profile_skills_profile_id_profiles_user_id_fk",
1842
+ "tableFrom": "profile_skills",
1843
+ "tableTo": "profiles",
1844
+ "columnsFrom": [
1845
+ "profile_id"
1846
+ ],
1847
+ "columnsTo": [
1848
+ "user_id"
1849
+ ],
1850
+ "onDelete": "cascade",
1851
+ "onUpdate": "no action"
1852
+ }
1853
+ },
1854
+ "compositePrimaryKeys": {},
1855
+ "uniqueConstraints": {},
1856
+ "checkConstraints": {}
1857
+ },
1858
+ "profiles": {
1859
+ "name": "profiles",
1860
+ "columns": {
1861
+ "user_id": {
1862
+ "name": "user_id",
1863
+ "type": "text",
1864
+ "primaryKey": true,
1865
+ "notNull": true,
1866
+ "autoincrement": false
1867
+ },
1868
+ "username": {
1869
+ "name": "username",
1870
+ "type": "text",
1871
+ "primaryKey": false,
1872
+ "notNull": true,
1873
+ "autoincrement": false
1874
+ },
1875
+ "avatar_url": {
1876
+ "name": "avatar_url",
1877
+ "type": "text",
1878
+ "primaryKey": false,
1879
+ "notNull": false,
1880
+ "autoincrement": false
1881
+ },
1882
+ "bio": {
1883
+ "name": "bio",
1884
+ "type": "text",
1885
+ "primaryKey": false,
1886
+ "notNull": false,
1887
+ "autoincrement": false
1888
+ },
1889
+ "location": {
1890
+ "name": "location",
1891
+ "type": "text",
1892
+ "primaryKey": false,
1893
+ "notNull": false,
1894
+ "autoincrement": false
1895
+ },
1896
+ "website": {
1897
+ "name": "website",
1898
+ "type": "text",
1899
+ "primaryKey": false,
1900
+ "notNull": false,
1901
+ "autoincrement": false
1902
+ },
1903
+ "twitter": {
1904
+ "name": "twitter",
1905
+ "type": "text",
1906
+ "primaryKey": false,
1907
+ "notNull": false,
1908
+ "autoincrement": false
1909
+ },
1910
+ "available_for_mentoring": {
1911
+ "name": "available_for_mentoring",
1912
+ "type": "integer",
1913
+ "primaryKey": false,
1914
+ "notNull": false,
1915
+ "autoincrement": false,
1916
+ "default": false
1917
+ },
1918
+ "profile_visibility": {
1919
+ "name": "profile_visibility",
1920
+ "type": "text",
1921
+ "primaryKey": false,
1922
+ "notNull": false,
1923
+ "autoincrement": false,
1924
+ "default": "'public'"
1925
+ },
1926
+ "show_email": {
1927
+ "name": "show_email",
1928
+ "type": "integer",
1929
+ "primaryKey": false,
1930
+ "notNull": false,
1931
+ "autoincrement": false,
1932
+ "default": false
1933
+ },
1934
+ "github_stats": {
1935
+ "name": "github_stats",
1936
+ "type": "text",
1937
+ "primaryKey": false,
1938
+ "notNull": false,
1939
+ "autoincrement": false
1940
+ },
1941
+ "stats_updated_at": {
1942
+ "name": "stats_updated_at",
1943
+ "type": "text",
1944
+ "primaryKey": false,
1945
+ "notNull": false,
1946
+ "autoincrement": false
1947
+ },
1948
+ "created_at": {
1949
+ "name": "created_at",
1950
+ "type": "text",
1951
+ "primaryKey": false,
1952
+ "notNull": true,
1953
+ "autoincrement": false
1954
+ },
1955
+ "updated_at": {
1956
+ "name": "updated_at",
1957
+ "type": "text",
1958
+ "primaryKey": false,
1959
+ "notNull": true,
1960
+ "autoincrement": false
1961
+ }
1962
+ },
1963
+ "indexes": {},
1964
+ "foreignKeys": {
1965
+ "profiles_user_id_users_id_fk": {
1966
+ "name": "profiles_user_id_users_id_fk",
1967
+ "tableFrom": "profiles",
1968
+ "tableTo": "users",
1969
+ "columnsFrom": [
1970
+ "user_id"
1971
+ ],
1972
+ "columnsTo": [
1973
+ "id"
1974
+ ],
1975
+ "onDelete": "cascade",
1976
+ "onUpdate": "no action"
1977
+ }
1978
+ },
1979
+ "compositePrimaryKeys": {},
1980
+ "uniqueConstraints": {},
1981
+ "checkConstraints": {}
1982
+ },
1983
+ "repositories": {
1984
+ "name": "repositories",
1985
+ "columns": {
1986
+ "id": {
1987
+ "name": "id",
1988
+ "type": "text",
1989
+ "primaryKey": true,
1990
+ "notNull": true,
1991
+ "autoincrement": false
1992
+ },
1993
+ "github_repo_id": {
1994
+ "name": "github_repo_id",
1995
+ "type": "integer",
1996
+ "primaryKey": false,
1997
+ "notNull": true,
1998
+ "autoincrement": false
1999
+ },
2000
+ "name": {
2001
+ "name": "name",
2002
+ "type": "text",
2003
+ "primaryKey": false,
2004
+ "notNull": true,
2005
+ "autoincrement": false
2006
+ },
2007
+ "owner": {
2008
+ "name": "owner",
2009
+ "type": "text",
2010
+ "primaryKey": false,
2011
+ "notNull": true,
2012
+ "autoincrement": false
2013
+ },
2014
+ "user_id": {
2015
+ "name": "user_id",
2016
+ "type": "text",
2017
+ "primaryKey": false,
2018
+ "notNull": true,
2019
+ "autoincrement": false
2020
+ },
2021
+ "added_by_user": {
2022
+ "name": "added_by_user",
2023
+ "type": "integer",
2024
+ "primaryKey": false,
2025
+ "notNull": false,
2026
+ "autoincrement": false,
2027
+ "default": false
2028
+ },
2029
+ "etag": {
2030
+ "name": "etag",
2031
+ "type": "text",
2032
+ "primaryKey": false,
2033
+ "notNull": false,
2034
+ "autoincrement": false
2035
+ },
2036
+ "last_synced_at": {
2037
+ "name": "last_synced_at",
2038
+ "type": "text",
2039
+ "primaryKey": false,
2040
+ "notNull": false,
2041
+ "autoincrement": false
2042
+ },
2043
+ "created_at": {
2044
+ "name": "created_at",
2045
+ "type": "text",
2046
+ "primaryKey": false,
2047
+ "notNull": true,
2048
+ "autoincrement": false
2049
+ }
2050
+ },
2051
+ "indexes": {},
2052
+ "foreignKeys": {
2053
+ "repositories_user_id_users_id_fk": {
2054
+ "name": "repositories_user_id_users_id_fk",
2055
+ "tableFrom": "repositories",
2056
+ "tableTo": "users",
2057
+ "columnsFrom": [
2058
+ "user_id"
2059
+ ],
2060
+ "columnsTo": [
2061
+ "id"
2062
+ ],
2063
+ "onDelete": "cascade",
2064
+ "onUpdate": "no action"
2065
+ }
2066
+ },
2067
+ "compositePrimaryKeys": {},
2068
+ "uniqueConstraints": {},
2069
+ "checkConstraints": {}
2070
+ },
2071
+ "resource_tags": {
2072
+ "name": "resource_tags",
2073
+ "columns": {
2074
+ "resource_id": {
2075
+ "name": "resource_id",
2076
+ "type": "text",
2077
+ "primaryKey": false,
2078
+ "notNull": true,
2079
+ "autoincrement": false
2080
+ },
2081
+ "tag": {
2082
+ "name": "tag",
2083
+ "type": "text",
2084
+ "primaryKey": false,
2085
+ "notNull": true,
2086
+ "autoincrement": false
2087
+ }
2088
+ },
2089
+ "indexes": {},
2090
+ "foreignKeys": {
2091
+ "resource_tags_resource_id_resources_id_fk": {
2092
+ "name": "resource_tags_resource_id_resources_id_fk",
2093
+ "tableFrom": "resource_tags",
2094
+ "tableTo": "resources",
2095
+ "columnsFrom": [
2096
+ "resource_id"
2097
+ ],
2098
+ "columnsTo": [
2099
+ "id"
2100
+ ],
2101
+ "onDelete": "cascade",
2102
+ "onUpdate": "no action"
2103
+ }
2104
+ },
2105
+ "compositePrimaryKeys": {},
2106
+ "uniqueConstraints": {},
2107
+ "checkConstraints": {}
2108
+ },
2109
+ "resources": {
2110
+ "name": "resources",
2111
+ "columns": {
2112
+ "id": {
2113
+ "name": "id",
2114
+ "type": "text",
2115
+ "primaryKey": true,
2116
+ "notNull": true,
2117
+ "autoincrement": false
2118
+ },
2119
+ "repo_name": {
2120
+ "name": "repo_name",
2121
+ "type": "text",
2122
+ "primaryKey": false,
2123
+ "notNull": true,
2124
+ "autoincrement": false
2125
+ },
2126
+ "source_type": {
2127
+ "name": "source_type",
2128
+ "type": "text",
2129
+ "primaryKey": false,
2130
+ "notNull": false,
2131
+ "autoincrement": false,
2132
+ "default": "'chat'"
2133
+ },
2134
+ "source_id": {
2135
+ "name": "source_id",
2136
+ "type": "text",
2137
+ "primaryKey": false,
2138
+ "notNull": false,
2139
+ "autoincrement": false
2140
+ },
2141
+ "resource_type": {
2142
+ "name": "resource_type",
2143
+ "type": "text",
2144
+ "primaryKey": false,
2145
+ "notNull": true,
2146
+ "autoincrement": false
2147
+ },
2148
+ "title": {
2149
+ "name": "title",
2150
+ "type": "text",
2151
+ "primaryKey": false,
2152
+ "notNull": true,
2153
+ "autoincrement": false
2154
+ },
2155
+ "content": {
2156
+ "name": "content",
2157
+ "type": "text",
2158
+ "primaryKey": false,
2159
+ "notNull": true,
2160
+ "autoincrement": false
2161
+ },
2162
+ "description": {
2163
+ "name": "description",
2164
+ "type": "text",
2165
+ "primaryKey": false,
2166
+ "notNull": false,
2167
+ "autoincrement": false
2168
+ },
2169
+ "language": {
2170
+ "name": "language",
2171
+ "type": "text",
2172
+ "primaryKey": false,
2173
+ "notNull": false,
2174
+ "autoincrement": false
2175
+ },
2176
+ "shared_by": {
2177
+ "name": "shared_by",
2178
+ "type": "text",
2179
+ "primaryKey": false,
2180
+ "notNull": true,
2181
+ "autoincrement": false
2182
+ },
2183
+ "shared_by_id": {
2184
+ "name": "shared_by_id",
2185
+ "type": "text",
2186
+ "primaryKey": false,
2187
+ "notNull": true,
2188
+ "autoincrement": false
2189
+ },
2190
+ "save_count": {
2191
+ "name": "save_count",
2192
+ "type": "integer",
2193
+ "primaryKey": false,
2194
+ "notNull": false,
2195
+ "autoincrement": false,
2196
+ "default": 0
2197
+ },
2198
+ "helpful_count": {
2199
+ "name": "helpful_count",
2200
+ "type": "integer",
2201
+ "primaryKey": false,
2202
+ "notNull": false,
2203
+ "autoincrement": false,
2204
+ "default": 0
2205
+ },
2206
+ "created_at": {
2207
+ "name": "created_at",
2208
+ "type": "text",
2209
+ "primaryKey": false,
2210
+ "notNull": true,
2211
+ "autoincrement": false
2212
+ },
2213
+ "updated_at": {
2214
+ "name": "updated_at",
2215
+ "type": "text",
2216
+ "primaryKey": false,
2217
+ "notNull": true,
2218
+ "autoincrement": false
2219
+ }
2220
+ },
2221
+ "indexes": {},
2222
+ "foreignKeys": {
2223
+ "resources_shared_by_id_users_id_fk": {
2224
+ "name": "resources_shared_by_id_users_id_fk",
2225
+ "tableFrom": "resources",
2226
+ "tableTo": "users",
2227
+ "columnsFrom": [
2228
+ "shared_by_id"
2229
+ ],
2230
+ "columnsTo": [
2231
+ "id"
2232
+ ],
2233
+ "onDelete": "no action",
2234
+ "onUpdate": "no action"
2235
+ }
2236
+ },
2237
+ "compositePrimaryKeys": {},
2238
+ "uniqueConstraints": {},
2239
+ "checkConstraints": {}
2240
+ },
2241
+ "templates": {
2242
+ "name": "templates",
2243
+ "columns": {
2244
+ "id": {
2245
+ "name": "id",
2246
+ "type": "text",
2247
+ "primaryKey": true,
2248
+ "notNull": true,
2249
+ "autoincrement": false
2250
+ },
2251
+ "name": {
2252
+ "name": "name",
2253
+ "type": "text",
2254
+ "primaryKey": false,
2255
+ "notNull": true,
2256
+ "autoincrement": false
2257
+ },
2258
+ "body": {
2259
+ "name": "body",
2260
+ "type": "text",
2261
+ "primaryKey": false,
2262
+ "notNull": true,
2263
+ "autoincrement": false
2264
+ },
2265
+ "owner_id": {
2266
+ "name": "owner_id",
2267
+ "type": "text",
2268
+ "primaryKey": false,
2269
+ "notNull": true,
2270
+ "autoincrement": false
2271
+ },
2272
+ "trigger_classification": {
2273
+ "name": "trigger_classification",
2274
+ "type": "text",
2275
+ "primaryKey": false,
2276
+ "notNull": false,
2277
+ "autoincrement": false
2278
+ },
2279
+ "created_at": {
2280
+ "name": "created_at",
2281
+ "type": "text",
2282
+ "primaryKey": false,
2283
+ "notNull": true,
2284
+ "autoincrement": false
2285
+ }
2286
+ },
2287
+ "indexes": {},
2288
+ "foreignKeys": {
2289
+ "templates_owner_id_users_id_fk": {
2290
+ "name": "templates_owner_id_users_id_fk",
2291
+ "tableFrom": "templates",
2292
+ "tableTo": "users",
2293
+ "columnsFrom": [
2294
+ "owner_id"
2295
+ ],
2296
+ "columnsTo": [
2297
+ "id"
2298
+ ],
2299
+ "onDelete": "cascade",
2300
+ "onUpdate": "no action"
2301
+ }
2302
+ },
2303
+ "compositePrimaryKeys": {},
2304
+ "uniqueConstraints": {},
2305
+ "checkConstraints": {}
2306
+ },
2307
+ "triage_data": {
2308
+ "name": "triage_data",
2309
+ "columns": {
2310
+ "id": {
2311
+ "name": "id",
2312
+ "type": "text",
2313
+ "primaryKey": true,
2314
+ "notNull": true,
2315
+ "autoincrement": false
2316
+ },
2317
+ "issue_id": {
2318
+ "name": "issue_id",
2319
+ "type": "text",
2320
+ "primaryKey": false,
2321
+ "notNull": true,
2322
+ "autoincrement": false
2323
+ },
2324
+ "classification": {
2325
+ "name": "classification",
2326
+ "type": "text",
2327
+ "primaryKey": false,
2328
+ "notNull": true,
2329
+ "autoincrement": false
2330
+ },
2331
+ "summary": {
2332
+ "name": "summary",
2333
+ "type": "text",
2334
+ "primaryKey": false,
2335
+ "notNull": true,
2336
+ "autoincrement": false
2337
+ },
2338
+ "suggested_label": {
2339
+ "name": "suggested_label",
2340
+ "type": "text",
2341
+ "primaryKey": false,
2342
+ "notNull": true,
2343
+ "autoincrement": false
2344
+ },
2345
+ "sentiment": {
2346
+ "name": "sentiment",
2347
+ "type": "text",
2348
+ "primaryKey": false,
2349
+ "notNull": true,
2350
+ "autoincrement": false
2351
+ },
2352
+ "bug_risk_score": {
2353
+ "name": "bug_risk_score",
2354
+ "type": "integer",
2355
+ "primaryKey": false,
2356
+ "notNull": false,
2357
+ "autoincrement": false
2358
+ },
2359
+ "toxicity_flag": {
2360
+ "name": "toxicity_flag",
2361
+ "type": "integer",
2362
+ "primaryKey": false,
2363
+ "notNull": false,
2364
+ "autoincrement": false,
2365
+ "default": false
2366
+ },
2367
+ "analyzed_at": {
2368
+ "name": "analyzed_at",
2369
+ "type": "text",
2370
+ "primaryKey": false,
2371
+ "notNull": true,
2372
+ "autoincrement": false
2373
+ }
2374
+ },
2375
+ "indexes": {},
2376
+ "foreignKeys": {
2377
+ "triage_data_issue_id_issues_id_fk": {
2378
+ "name": "triage_data_issue_id_issues_id_fk",
2379
+ "tableFrom": "triage_data",
2380
+ "tableTo": "issues",
2381
+ "columnsFrom": [
2382
+ "issue_id"
2383
+ ],
2384
+ "columnsTo": [
2385
+ "id"
2386
+ ],
2387
+ "onDelete": "cascade",
2388
+ "onUpdate": "no action"
2389
+ }
2390
+ },
2391
+ "compositePrimaryKeys": {},
2392
+ "uniqueConstraints": {},
2393
+ "checkConstraints": {}
2394
+ },
2395
+ "trophies": {
2396
+ "name": "trophies",
2397
+ "columns": {
2398
+ "id": {
2399
+ "name": "id",
2400
+ "type": "text",
2401
+ "primaryKey": true,
2402
+ "notNull": true,
2403
+ "autoincrement": false
2404
+ },
2405
+ "user_id": {
2406
+ "name": "user_id",
2407
+ "type": "text",
2408
+ "primaryKey": false,
2409
+ "notNull": true,
2410
+ "autoincrement": false
2411
+ },
2412
+ "username": {
2413
+ "name": "username",
2414
+ "type": "text",
2415
+ "primaryKey": false,
2416
+ "notNull": true,
2417
+ "autoincrement": false
2418
+ },
2419
+ "trophy_type": {
2420
+ "name": "trophy_type",
2421
+ "type": "text",
2422
+ "primaryKey": false,
2423
+ "notNull": true,
2424
+ "autoincrement": false
2425
+ },
2426
+ "name": {
2427
+ "name": "name",
2428
+ "type": "text",
2429
+ "primaryKey": false,
2430
+ "notNull": true,
2431
+ "autoincrement": false
2432
+ },
2433
+ "description": {
2434
+ "name": "description",
2435
+ "type": "text",
2436
+ "primaryKey": false,
2437
+ "notNull": true,
2438
+ "autoincrement": false
2439
+ },
2440
+ "icon": {
2441
+ "name": "icon",
2442
+ "type": "text",
2443
+ "primaryKey": false,
2444
+ "notNull": true,
2445
+ "autoincrement": false
2446
+ },
2447
+ "color": {
2448
+ "name": "color",
2449
+ "type": "text",
2450
+ "primaryKey": false,
2451
+ "notNull": true,
2452
+ "autoincrement": false
2453
+ },
2454
+ "rarity": {
2455
+ "name": "rarity",
2456
+ "type": "text",
2457
+ "primaryKey": false,
2458
+ "notNull": true,
2459
+ "autoincrement": false
2460
+ },
2461
+ "svg_data": {
2462
+ "name": "svg_data",
2463
+ "type": "text",
2464
+ "primaryKey": false,
2465
+ "notNull": false,
2466
+ "autoincrement": false
2467
+ },
2468
+ "is_public": {
2469
+ "name": "is_public",
2470
+ "type": "integer",
2471
+ "primaryKey": false,
2472
+ "notNull": false,
2473
+ "autoincrement": false,
2474
+ "default": true
2475
+ },
2476
+ "share_url": {
2477
+ "name": "share_url",
2478
+ "type": "text",
2479
+ "primaryKey": false,
2480
+ "notNull": false,
2481
+ "autoincrement": false
2482
+ },
2483
+ "earned_for": {
2484
+ "name": "earned_for",
2485
+ "type": "text",
2486
+ "primaryKey": false,
2487
+ "notNull": false,
2488
+ "autoincrement": false
2489
+ },
2490
+ "milestone_value": {
2491
+ "name": "milestone_value",
2492
+ "type": "integer",
2493
+ "primaryKey": false,
2494
+ "notNull": false,
2495
+ "autoincrement": false
2496
+ },
2497
+ "awarded_at": {
2498
+ "name": "awarded_at",
2499
+ "type": "text",
2500
+ "primaryKey": false,
2501
+ "notNull": true,
2502
+ "autoincrement": false
2503
+ }
2504
+ },
2505
+ "indexes": {},
2506
+ "foreignKeys": {
2507
+ "trophies_user_id_users_id_fk": {
2508
+ "name": "trophies_user_id_users_id_fk",
2509
+ "tableFrom": "trophies",
2510
+ "tableTo": "users",
2511
+ "columnsFrom": [
2512
+ "user_id"
2513
+ ],
2514
+ "columnsTo": [
2515
+ "id"
2516
+ ],
2517
+ "onDelete": "cascade",
2518
+ "onUpdate": "no action"
2519
+ }
2520
+ },
2521
+ "compositePrimaryKeys": {},
2522
+ "uniqueConstraints": {},
2523
+ "checkConstraints": {}
2524
+ },
2525
+ "user_repositories": {
2526
+ "name": "user_repositories",
2527
+ "columns": {
2528
+ "id": {
2529
+ "name": "id",
2530
+ "type": "text",
2531
+ "primaryKey": true,
2532
+ "notNull": true,
2533
+ "autoincrement": false
2534
+ },
2535
+ "user_id": {
2536
+ "name": "user_id",
2537
+ "type": "text",
2538
+ "primaryKey": false,
2539
+ "notNull": true,
2540
+ "autoincrement": false
2541
+ },
2542
+ "repo_full_name": {
2543
+ "name": "repo_full_name",
2544
+ "type": "text",
2545
+ "primaryKey": false,
2546
+ "notNull": true,
2547
+ "autoincrement": false
2548
+ },
2549
+ "added_at": {
2550
+ "name": "added_at",
2551
+ "type": "text",
2552
+ "primaryKey": false,
2553
+ "notNull": true,
2554
+ "autoincrement": false
2555
+ }
2556
+ },
2557
+ "indexes": {
2558
+ "user_repo_unique": {
2559
+ "name": "user_repo_unique",
2560
+ "columns": [
2561
+ "user_id",
2562
+ "repo_full_name"
2563
+ ],
2564
+ "isUnique": true
2565
+ }
2566
+ },
2567
+ "foreignKeys": {
2568
+ "user_repositories_user_id_users_id_fk": {
2569
+ "name": "user_repositories_user_id_users_id_fk",
2570
+ "tableFrom": "user_repositories",
2571
+ "tableTo": "users",
2572
+ "columnsFrom": [
2573
+ "user_id"
2574
+ ],
2575
+ "columnsTo": [
2576
+ "id"
2577
+ ],
2578
+ "onDelete": "cascade",
2579
+ "onUpdate": "no action"
2580
+ }
2581
+ },
2582
+ "compositePrimaryKeys": {},
2583
+ "uniqueConstraints": {},
2584
+ "checkConstraints": {}
2585
+ },
2586
+ "user_saved_resources": {
2587
+ "name": "user_saved_resources",
2588
+ "columns": {
2589
+ "id": {
2590
+ "name": "id",
2591
+ "type": "text",
2592
+ "primaryKey": true,
2593
+ "notNull": true,
2594
+ "autoincrement": false
2595
+ },
2596
+ "user_id": {
2597
+ "name": "user_id",
2598
+ "type": "text",
2599
+ "primaryKey": false,
2600
+ "notNull": true,
2601
+ "autoincrement": false
2602
+ },
2603
+ "resource_id": {
2604
+ "name": "resource_id",
2605
+ "type": "text",
2606
+ "primaryKey": false,
2607
+ "notNull": true,
2608
+ "autoincrement": false
2609
+ },
2610
+ "notes": {
2611
+ "name": "notes",
2612
+ "type": "text",
2613
+ "primaryKey": false,
2614
+ "notNull": false,
2615
+ "autoincrement": false
2616
+ },
2617
+ "saved_at": {
2618
+ "name": "saved_at",
2619
+ "type": "text",
2620
+ "primaryKey": false,
2621
+ "notNull": true,
2622
+ "autoincrement": false
2623
+ }
2624
+ },
2625
+ "indexes": {},
2626
+ "foreignKeys": {
2627
+ "user_saved_resources_user_id_users_id_fk": {
2628
+ "name": "user_saved_resources_user_id_users_id_fk",
2629
+ "tableFrom": "user_saved_resources",
2630
+ "tableTo": "users",
2631
+ "columnsFrom": [
2632
+ "user_id"
2633
+ ],
2634
+ "columnsTo": [
2635
+ "id"
2636
+ ],
2637
+ "onDelete": "cascade",
2638
+ "onUpdate": "no action"
2639
+ },
2640
+ "user_saved_resources_resource_id_resources_id_fk": {
2641
+ "name": "user_saved_resources_resource_id_resources_id_fk",
2642
+ "tableFrom": "user_saved_resources",
2643
+ "tableTo": "resources",
2644
+ "columnsFrom": [
2645
+ "resource_id"
2646
+ ],
2647
+ "columnsTo": [
2648
+ "id"
2649
+ ],
2650
+ "onDelete": "cascade",
2651
+ "onUpdate": "no action"
2652
+ }
2653
+ },
2654
+ "compositePrimaryKeys": {},
2655
+ "uniqueConstraints": {},
2656
+ "checkConstraints": {}
2657
+ },
2658
+ "users": {
2659
+ "name": "users",
2660
+ "columns": {
2661
+ "id": {
2662
+ "name": "id",
2663
+ "type": "text",
2664
+ "primaryKey": true,
2665
+ "notNull": true,
2666
+ "autoincrement": false
2667
+ },
2668
+ "github_id": {
2669
+ "name": "github_id",
2670
+ "type": "integer",
2671
+ "primaryKey": false,
2672
+ "notNull": true,
2673
+ "autoincrement": false
2674
+ },
2675
+ "username": {
2676
+ "name": "username",
2677
+ "type": "text",
2678
+ "primaryKey": false,
2679
+ "notNull": true,
2680
+ "autoincrement": false
2681
+ },
2682
+ "avatar_url": {
2683
+ "name": "avatar_url",
2684
+ "type": "text",
2685
+ "primaryKey": false,
2686
+ "notNull": true,
2687
+ "autoincrement": false
2688
+ },
2689
+ "role": {
2690
+ "name": "role",
2691
+ "type": "text",
2692
+ "primaryKey": false,
2693
+ "notNull": false,
2694
+ "autoincrement": false
2695
+ },
2696
+ "github_access_token": {
2697
+ "name": "github_access_token",
2698
+ "type": "text",
2699
+ "primaryKey": false,
2700
+ "notNull": false,
2701
+ "autoincrement": false
2702
+ },
2703
+ "created_at": {
2704
+ "name": "created_at",
2705
+ "type": "text",
2706
+ "primaryKey": false,
2707
+ "notNull": true,
2708
+ "autoincrement": false
2709
+ },
2710
+ "updated_at": {
2711
+ "name": "updated_at",
2712
+ "type": "text",
2713
+ "primaryKey": false,
2714
+ "notNull": true,
2715
+ "autoincrement": false
2716
+ }
2717
+ },
2718
+ "indexes": {
2719
+ "users_github_id_unique": {
2720
+ "name": "users_github_id_unique",
2721
+ "columns": [
2722
+ "github_id"
2723
+ ],
2724
+ "isUnique": true
2725
+ }
2726
+ },
2727
+ "foreignKeys": {},
2728
+ "compositePrimaryKeys": {},
2729
+ "uniqueConstraints": {},
2730
+ "checkConstraints": {}
2731
+ }
2732
+ },
2733
+ "views": {},
2734
+ "enums": {},
2735
+ "_meta": {
2736
+ "schemas": {},
2737
+ "tables": {},
2738
+ "columns": {}
2739
+ },
2740
+ "internal": {
2741
+ "indexes": {}
2742
+ }
2743
+ }
drizzle/meta/_journal.json CHANGED
@@ -22,6 +22,13 @@
22
  "when": 1770196804327,
23
  "tag": "0002_simple_reavers",
24
  "breakpoints": true
 
 
 
 
 
 
 
25
  }
26
  ]
27
  }
 
22
  "when": 1770196804327,
23
  "tag": "0002_simple_reavers",
24
  "breakpoints": true
25
+ },
26
+ {
27
+ "idx": 3,
28
+ "version": "6",
29
+ "when": 1770727219671,
30
+ "tag": "0003_sparkling_the_santerians",
31
+ "breakpoints": true
32
  }
33
  ]
34
  }