offsite 0.0.85 → 0.0.87

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.
@@ -0,0 +1 @@
1
+ ALTER TABLE `sessions` ADD `provider` text;
@@ -0,0 +1,398 @@
1
+ {
2
+ "version": "7",
3
+ "dialect": "sqlite",
4
+ "id": "e6f33bcd-bcd2-451e-b2d6-678a0c0372d2",
5
+ "prevIds": [
6
+ "091bbcf4-e574-47d3-b4c8-0e56b984efe9"
7
+ ],
8
+ "ddl": [
9
+ {
10
+ "name": "devices",
11
+ "entityType": "tables"
12
+ },
13
+ {
14
+ "name": "pairing_codes",
15
+ "entityType": "tables"
16
+ },
17
+ {
18
+ "name": "projects",
19
+ "entityType": "tables"
20
+ },
21
+ {
22
+ "name": "push_subscriptions",
23
+ "entityType": "tables"
24
+ },
25
+ {
26
+ "name": "session_opens",
27
+ "entityType": "tables"
28
+ },
29
+ {
30
+ "name": "sessions",
31
+ "entityType": "tables"
32
+ },
33
+ {
34
+ "type": "text",
35
+ "notNull": false,
36
+ "autoincrement": false,
37
+ "default": null,
38
+ "generated": null,
39
+ "name": "hash",
40
+ "entityType": "columns",
41
+ "table": "devices"
42
+ },
43
+ {
44
+ "type": "text",
45
+ "notNull": false,
46
+ "autoincrement": false,
47
+ "default": null,
48
+ "generated": null,
49
+ "name": "name",
50
+ "entityType": "columns",
51
+ "table": "devices"
52
+ },
53
+ {
54
+ "type": "integer",
55
+ "notNull": true,
56
+ "autoincrement": false,
57
+ "default": null,
58
+ "generated": null,
59
+ "name": "created_at",
60
+ "entityType": "columns",
61
+ "table": "devices"
62
+ },
63
+ {
64
+ "type": "integer",
65
+ "notNull": true,
66
+ "autoincrement": false,
67
+ "default": null,
68
+ "generated": null,
69
+ "name": "expires_at",
70
+ "entityType": "columns",
71
+ "table": "devices"
72
+ },
73
+ {
74
+ "type": "integer",
75
+ "notNull": false,
76
+ "autoincrement": false,
77
+ "default": null,
78
+ "generated": null,
79
+ "name": "last_used_at",
80
+ "entityType": "columns",
81
+ "table": "devices"
82
+ },
83
+ {
84
+ "type": "text",
85
+ "notNull": false,
86
+ "autoincrement": false,
87
+ "default": null,
88
+ "generated": null,
89
+ "name": "hash",
90
+ "entityType": "columns",
91
+ "table": "pairing_codes"
92
+ },
93
+ {
94
+ "type": "text",
95
+ "notNull": false,
96
+ "autoincrement": false,
97
+ "default": null,
98
+ "generated": null,
99
+ "name": "name",
100
+ "entityType": "columns",
101
+ "table": "pairing_codes"
102
+ },
103
+ {
104
+ "type": "integer",
105
+ "notNull": true,
106
+ "autoincrement": false,
107
+ "default": null,
108
+ "generated": null,
109
+ "name": "expires_at",
110
+ "entityType": "columns",
111
+ "table": "pairing_codes"
112
+ },
113
+ {
114
+ "type": "text",
115
+ "notNull": false,
116
+ "autoincrement": false,
117
+ "default": null,
118
+ "generated": null,
119
+ "name": "id",
120
+ "entityType": "columns",
121
+ "table": "projects"
122
+ },
123
+ {
124
+ "type": "text",
125
+ "notNull": true,
126
+ "autoincrement": false,
127
+ "default": null,
128
+ "generated": null,
129
+ "name": "path",
130
+ "entityType": "columns",
131
+ "table": "projects"
132
+ },
133
+ {
134
+ "type": "text",
135
+ "notNull": true,
136
+ "autoincrement": false,
137
+ "default": null,
138
+ "generated": null,
139
+ "name": "name",
140
+ "entityType": "columns",
141
+ "table": "projects"
142
+ },
143
+ {
144
+ "type": "text",
145
+ "notNull": false,
146
+ "autoincrement": false,
147
+ "default": null,
148
+ "generated": null,
149
+ "name": "logo",
150
+ "entityType": "columns",
151
+ "table": "projects"
152
+ },
153
+ {
154
+ "type": "integer",
155
+ "notNull": true,
156
+ "autoincrement": false,
157
+ "default": "0",
158
+ "generated": null,
159
+ "name": "position",
160
+ "entityType": "columns",
161
+ "table": "projects"
162
+ },
163
+ {
164
+ "type": "integer",
165
+ "notNull": true,
166
+ "autoincrement": false,
167
+ "default": "false",
168
+ "generated": null,
169
+ "name": "hidden",
170
+ "entityType": "columns",
171
+ "table": "projects"
172
+ },
173
+ {
174
+ "type": "integer",
175
+ "notNull": true,
176
+ "autoincrement": false,
177
+ "default": "false",
178
+ "generated": null,
179
+ "name": "scratch",
180
+ "entityType": "columns",
181
+ "table": "projects"
182
+ },
183
+ {
184
+ "type": "text",
185
+ "notNull": false,
186
+ "autoincrement": false,
187
+ "default": null,
188
+ "generated": null,
189
+ "name": "endpoint",
190
+ "entityType": "columns",
191
+ "table": "push_subscriptions"
192
+ },
193
+ {
194
+ "type": "text",
195
+ "notNull": true,
196
+ "autoincrement": false,
197
+ "default": null,
198
+ "generated": null,
199
+ "name": "p256dh",
200
+ "entityType": "columns",
201
+ "table": "push_subscriptions"
202
+ },
203
+ {
204
+ "type": "text",
205
+ "notNull": true,
206
+ "autoincrement": false,
207
+ "default": null,
208
+ "generated": null,
209
+ "name": "auth",
210
+ "entityType": "columns",
211
+ "table": "push_subscriptions"
212
+ },
213
+ {
214
+ "type": "text",
215
+ "notNull": true,
216
+ "autoincrement": false,
217
+ "default": null,
218
+ "generated": null,
219
+ "name": "public_key",
220
+ "entityType": "columns",
221
+ "table": "push_subscriptions"
222
+ },
223
+ {
224
+ "type": "text",
225
+ "notNull": true,
226
+ "autoincrement": false,
227
+ "default": null,
228
+ "generated": null,
229
+ "name": "private_key",
230
+ "entityType": "columns",
231
+ "table": "push_subscriptions"
232
+ },
233
+ {
234
+ "type": "text",
235
+ "notNull": true,
236
+ "autoincrement": false,
237
+ "default": null,
238
+ "generated": null,
239
+ "name": "machine",
240
+ "entityType": "columns",
241
+ "table": "push_subscriptions"
242
+ },
243
+ {
244
+ "type": "text",
245
+ "notNull": true,
246
+ "autoincrement": false,
247
+ "default": null,
248
+ "generated": null,
249
+ "name": "server",
250
+ "entityType": "columns",
251
+ "table": "push_subscriptions"
252
+ },
253
+ {
254
+ "type": "text",
255
+ "notNull": false,
256
+ "autoincrement": false,
257
+ "default": null,
258
+ "generated": null,
259
+ "name": "session_id",
260
+ "entityType": "columns",
261
+ "table": "session_opens"
262
+ },
263
+ {
264
+ "type": "real",
265
+ "notNull": true,
266
+ "autoincrement": false,
267
+ "default": null,
268
+ "generated": null,
269
+ "name": "score",
270
+ "entityType": "columns",
271
+ "table": "session_opens"
272
+ },
273
+ {
274
+ "type": "integer",
275
+ "notNull": true,
276
+ "autoincrement": false,
277
+ "default": null,
278
+ "generated": null,
279
+ "name": "opened_at",
280
+ "entityType": "columns",
281
+ "table": "session_opens"
282
+ },
283
+ {
284
+ "type": "text",
285
+ "notNull": true,
286
+ "autoincrement": false,
287
+ "default": null,
288
+ "generated": null,
289
+ "name": "picks",
290
+ "entityType": "columns",
291
+ "table": "session_opens"
292
+ },
293
+ {
294
+ "type": "text",
295
+ "notNull": false,
296
+ "autoincrement": false,
297
+ "default": null,
298
+ "generated": null,
299
+ "name": "session_id",
300
+ "entityType": "columns",
301
+ "table": "sessions"
302
+ },
303
+ {
304
+ "type": "text",
305
+ "notNull": false,
306
+ "autoincrement": false,
307
+ "default": null,
308
+ "generated": null,
309
+ "name": "provider",
310
+ "entityType": "columns",
311
+ "table": "sessions"
312
+ },
313
+ {
314
+ "type": "integer",
315
+ "notNull": false,
316
+ "autoincrement": false,
317
+ "default": null,
318
+ "generated": null,
319
+ "name": "interacted_at",
320
+ "entityType": "columns",
321
+ "table": "sessions"
322
+ },
323
+ {
324
+ "type": "text",
325
+ "notNull": true,
326
+ "autoincrement": false,
327
+ "default": null,
328
+ "generated": null,
329
+ "name": "status",
330
+ "entityType": "columns",
331
+ "table": "sessions"
332
+ },
333
+ {
334
+ "columns": [
335
+ "hash"
336
+ ],
337
+ "nameExplicit": false,
338
+ "name": "devices_pk",
339
+ "table": "devices",
340
+ "entityType": "pks"
341
+ },
342
+ {
343
+ "columns": [
344
+ "hash"
345
+ ],
346
+ "nameExplicit": false,
347
+ "name": "pairing_codes_pk",
348
+ "table": "pairing_codes",
349
+ "entityType": "pks"
350
+ },
351
+ {
352
+ "columns": [
353
+ "id"
354
+ ],
355
+ "nameExplicit": false,
356
+ "name": "projects_pk",
357
+ "table": "projects",
358
+ "entityType": "pks"
359
+ },
360
+ {
361
+ "columns": [
362
+ "endpoint"
363
+ ],
364
+ "nameExplicit": false,
365
+ "name": "push_subscriptions_pk",
366
+ "table": "push_subscriptions",
367
+ "entityType": "pks"
368
+ },
369
+ {
370
+ "columns": [
371
+ "session_id"
372
+ ],
373
+ "nameExplicit": false,
374
+ "name": "session_opens_pk",
375
+ "table": "session_opens",
376
+ "entityType": "pks"
377
+ },
378
+ {
379
+ "columns": [
380
+ "session_id"
381
+ ],
382
+ "nameExplicit": false,
383
+ "name": "sessions_pk",
384
+ "table": "sessions",
385
+ "entityType": "pks"
386
+ },
387
+ {
388
+ "columns": [
389
+ "path"
390
+ ],
391
+ "nameExplicit": false,
392
+ "name": "projects_path_unique",
393
+ "entityType": "uniques",
394
+ "table": "projects"
395
+ }
396
+ ],
397
+ "renames": []
398
+ }
@@ -0,0 +1,6 @@
1
+ CREATE TABLE `last_used_models` (
2
+ `provider` text PRIMARY KEY,
3
+ `account_id` text,
4
+ `model` text NOT NULL,
5
+ `used_at` integer NOT NULL
6
+ );