offsite 0.0.7 → 0.0.11
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.
- package/README.md +7 -7
- package/apps/server/dist/main.mjs +1855 -1644
- package/apps/server/dist/main.mjs.map +1 -1
- package/apps/server/drizzle/20261017041447_init/migration.sql +32 -0
- package/apps/server/drizzle/20261017041447_init/snapshot.json +265 -0
- package/apps/server/drizzle/20261017103559_browser_push_keys/migration.sql +11 -0
- package/apps/server/drizzle/20261017103559_browser_push_keys/snapshot.json +265 -0
- package/apps/server/drizzle/20261017110336_browser_machine_ids/migration.sql +3 -0
- package/apps/server/drizzle/20261017110336_browser_machine_ids/snapshot.json +252 -0
- package/apps/web/dist/assets/{angular-html-CxKqLP98.js → angular-html-DTNmgvth.js} +1 -1
- package/apps/web/dist/assets/{angular-ts-ChaIimso.js → angular-ts-DOOLa99A.js} +1 -1
- package/apps/web/dist/assets/{apl-C79wKZ96.js → apl-CSWmNqJI.js} +1 -1
- package/apps/web/dist/assets/{astro-Bjd0-rUa.js → astro-CK7We5bo.js} +1 -1
- package/apps/web/dist/assets/{blade-CwnKAXvb.js → blade-B9Q94PMc.js} +1 -1
- package/apps/web/dist/assets/{c-Z516m-0_.js → c-D05zRIsd.js} +1 -1
- package/apps/web/dist/assets/{chapel-CjZ9_INP.js → chapel-CJbjuVPR.js} +1 -1
- package/apps/web/dist/assets/{cobol-loY0YFmk.js → cobol-CE0VhU2R.js} +1 -1
- package/apps/web/dist/assets/{coffee-UH3lFVdK.js → coffee-C0i-RL39.js} +1 -1
- package/apps/web/dist/assets/{cpp-DglnXsh6.js → cpp-CBJhfD_V.js} +1 -1
- package/apps/web/dist/assets/{crystal-8bvlXru4.js → crystal-DRdgVTW1.js} +1 -1
- package/apps/web/dist/assets/{css-BR1q7k6_.js → css-DgMip4qW.js} +1 -1
- package/apps/web/dist/assets/{edge-BxokJ4MN.js → edge-BCmeW_3H.js} +1 -1
- package/apps/web/dist/assets/{elixir-BUaqVZQr.js → elixir-BiRSxKnc.js} +1 -1
- package/apps/web/dist/assets/{elm-D_9smeEe.js → elm-zBiqCp9W.js} +1 -1
- package/apps/web/dist/assets/{erb-DOZIqXQH.js → erb-1QviMyT9.js} +1 -1
- package/apps/web/dist/assets/{git-rebase-DN-oOLvo.js → git-rebase-TjFhp_Gn.js} +1 -1
- package/apps/web/dist/assets/{glimmer-js-dSW-hX4N.js → glimmer-js-dThwC_hZ.js} +1 -1
- package/apps/web/dist/assets/{glimmer-ts-BgJbFWVH.js → glimmer-ts-cCThNW17.js} +1 -1
- package/apps/web/dist/assets/{glsl-FkhRNxnG.js → glsl-BxmyIQYG.js} +1 -1
- package/apps/web/dist/assets/{graphql-BKHVf0BT.js → graphql-DygyczJj.js} +1 -1
- package/apps/web/dist/assets/{hack-obS7Vybj.js → hack-Bl1_oIjY.js} +1 -1
- package/apps/web/dist/assets/{haml-8M07SKZy.js → haml-CeOBocB0.js} +1 -1
- package/apps/web/dist/assets/{handlebars-Cyb9PeHi.js → handlebars-Bw1KMTCv.js} +1 -1
- package/apps/web/dist/assets/{html-Dwl7QR96.js → html-BaNo1IFo.js} +1 -1
- package/apps/web/dist/assets/{html-derivative-Dx3lESlT.js → html-derivative-f4LhlsLO.js} +1 -1
- package/apps/web/dist/assets/{http-CKSR21d-.js → http-Be2FOF-U.js} +1 -1
- package/apps/web/dist/assets/{hurl-DGaDIWma.js → hurl-BrtPQQhS.js} +1 -1
- package/apps/web/dist/assets/index-6ofGnhX4.css +2 -0
- package/apps/web/dist/assets/index-NWUHLKte.js +1203 -0
- package/apps/web/dist/assets/{java-BmaAOMbe.js → java-Bum5bcia.js} +1 -1
- package/apps/web/dist/assets/{javascript-Dh-l17xw.js → javascript-C5oYhZKk.js} +1 -1
- package/apps/web/dist/assets/{jinja-C14B9X7r.js → jinja-CNXoe8pn.js} +1 -1
- package/apps/web/dist/assets/{jison-DOLQZnVk.js → jison-g1hzxo4W.js} +1 -1
- package/apps/web/dist/assets/{json-CKQXRUCT.js → json-CiAAuc5j.js} +1 -1
- package/apps/web/dist/assets/{jsx-D3LXQmFh.js → jsx-Z0awY4ip.js} +1 -1
- package/apps/web/dist/assets/{julia-BONGpLSW.js → julia-DX3JjwcM.js} +1 -1
- package/apps/web/dist/assets/{just-1ImCRd19.js → just-DS6eCX0g.js} +1 -1
- package/apps/web/dist/assets/{latex-C6nf8qng.js → latex-CaBic_pJ.js} +1 -1
- package/apps/web/dist/assets/{liquid-OyHcMLT8.js → liquid-DMaOBf3v.js} +1 -1
- package/apps/web/dist/assets/{lua-CFyXSn73.js → lua-DeLz5pfA.js} +1 -1
- package/apps/web/dist/assets/{marko-w4Xaqrn8.js → marko-DqlzpgnR.js} +1 -1
- package/apps/web/dist/assets/{mdc-CipE4q24.js → mdc-CRcSVpSn.js} +1 -1
- package/apps/web/dist/assets/{nginx-CidGWCuA.js → nginx-BvszHPa-.js} +1 -1
- package/apps/web/dist/assets/{nim-DqvuZ6-V.js → nim-B19-Hebo.js} +1 -1
- package/apps/web/dist/assets/{org-C8k2emY1.js → org-Dx7yMTgG.js} +1 -1
- package/apps/web/dist/assets/{perl-D06UK6ou.js → perl-C-dISCJW.js} +1 -1
- package/apps/web/dist/assets/{php-POxwc-vY.js → php-BHBxrwsl.js} +1 -1
- package/apps/web/dist/assets/{pug-BzSRzYD8.js → pug-4a3x4vRs.js} +1 -1
- package/apps/web/dist/assets/{qml-DZF7i2J0.js → qml-CGOhzFqi.js} +1 -1
- package/apps/web/dist/assets/{r-Cem3rJmc.js → r-8jr0rtQL.js} +1 -1
- package/apps/web/dist/assets/{razor-DG8dmRN8.js → razor-BDrURPIA.js} +1 -1
- package/apps/web/dist/assets/{regexp-B4kXooBf.js → regexp-Cg-MfP18.js} +1 -1
- package/apps/web/dist/assets/{rst-DKLtDtVi.js → rst-0OrP55QZ.js} +1 -1
- package/apps/web/dist/assets/{ruby-CamS7fke.js → ruby-dAApWLhj.js} +1 -1
- package/apps/web/dist/assets/{sas-B0QV8BKG.js → sas-3_hKTjL9.js} +1 -1
- package/apps/web/dist/assets/{scss-PDWZBsRp.js → scss-D6ollEQv.js} +1 -1
- package/apps/web/dist/assets/{shellscript-CdzFXVZ3.js → shellscript-V3H5Rwnn.js} +1 -1
- package/apps/web/dist/assets/{shellsession-BTvaJuzj.js → shellsession-TxydKEoU.js} +1 -1
- package/apps/web/dist/assets/{soy-CKjkt_DB.js → soy-t3rHc1tL.js} +1 -1
- package/apps/web/dist/assets/{sql-CvyoBOik.js → sql-B-NkeM8R.js} +1 -1
- package/apps/web/dist/assets/{stata-DKSZtLec.js → stata-BW6neeVL.js} +1 -1
- package/apps/web/dist/assets/{surrealql-DLiWChn8.js → surrealql-CRBKdx6K.js} +1 -1
- package/apps/web/dist/assets/{svelte-BEKUDT0w.js → svelte-DTTmtyn-.js} +1 -1
- package/apps/web/dist/assets/{templ-Cwpj8Ert.js → templ-CCBYQttY.js} +1 -1
- package/apps/web/dist/assets/{tex-eE29FuOr.js → tex-D9XxqR5N.js} +1 -1
- package/apps/web/dist/assets/{ts-tags-CS_oR42m.js → ts-tags-CI4pWHnF.js} +1 -1
- package/apps/web/dist/assets/{tsx-CXh89N3W.js → tsx-DlfK3Vuf.js} +1 -1
- package/apps/web/dist/assets/{twig-DE2-3Vmd.js → twig-D-C2s1f2.js} +1 -1
- package/apps/web/dist/assets/{typescript-xOdvp9de.js → typescript-BnqYTwqM.js} +1 -1
- package/apps/web/dist/assets/{typst-B_JeYRUR.js → typst-DdTyavvE.js} +1 -1
- package/apps/web/dist/assets/{vue-html-UHMeN4EH.js → vue-html-CIXNcZez.js} +1 -1
- package/apps/web/dist/assets/{vue-vine-Cl2xkrIS.js → vue-vine-Czo_W6u3.js} +1 -1
- package/apps/web/dist/assets/{vue-dnoj_d3g.js → vue-zbXTTw4n.js} +1 -1
- package/apps/web/dist/assets/{xml-BgkAAaUc.js → xml-DWv3jkXo.js} +1 -1
- package/apps/web/dist/assets/{xsl-C4H21Kbc.js → xsl-BiggF1J3.js} +1 -1
- package/apps/web/dist/assets/{yaml-Ce1Tbjry.js → yaml-D9oC3m1d.js} +1 -1
- package/apps/web/dist/index.html +2 -2
- package/apps/web/dist/sw.js +1 -1
- package/package.json +5 -3
- package/apps/web/dist/assets/index-5vPpgW8A.css +0 -2
- package/apps/web/dist/assets/index-BJCHT3_X.js +0 -1148
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
CREATE TABLE `machine` (
|
|
2
|
+
`id` text PRIMARY KEY,
|
|
3
|
+
`push_public_key` text NOT NULL,
|
|
4
|
+
`push_private_key` text NOT NULL
|
|
5
|
+
);
|
|
6
|
+
--> statement-breakpoint
|
|
7
|
+
CREATE TABLE `projects` (
|
|
8
|
+
`id` text PRIMARY KEY,
|
|
9
|
+
`path` text NOT NULL UNIQUE,
|
|
10
|
+
`name` text NOT NULL,
|
|
11
|
+
`logo` text
|
|
12
|
+
);
|
|
13
|
+
--> statement-breakpoint
|
|
14
|
+
CREATE TABLE `push_subscriptions` (
|
|
15
|
+
`endpoint` text PRIMARY KEY,
|
|
16
|
+
`p256dh` text NOT NULL,
|
|
17
|
+
`auth` text NOT NULL,
|
|
18
|
+
`server` text NOT NULL
|
|
19
|
+
);
|
|
20
|
+
--> statement-breakpoint
|
|
21
|
+
CREATE TABLE `sessions` (
|
|
22
|
+
`session_id` text PRIMARY KEY,
|
|
23
|
+
`interacted_at` integer,
|
|
24
|
+
`status` text NOT NULL
|
|
25
|
+
);
|
|
26
|
+
--> statement-breakpoint
|
|
27
|
+
CREATE TABLE `tokens` (
|
|
28
|
+
`hash` text PRIMARY KEY,
|
|
29
|
+
`name` text,
|
|
30
|
+
`created_at` integer NOT NULL,
|
|
31
|
+
`last_used_at` integer
|
|
32
|
+
);
|
|
@@ -0,0 +1,265 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "7",
|
|
3
|
+
"dialect": "sqlite",
|
|
4
|
+
"id": "a4e66bc8-c140-48d4-9c7b-6bbfb38a5009",
|
|
5
|
+
"prevIds": [
|
|
6
|
+
"00000000-0000-0000-0000-000000000000"
|
|
7
|
+
],
|
|
8
|
+
"ddl": [
|
|
9
|
+
{
|
|
10
|
+
"name": "machine",
|
|
11
|
+
"entityType": "tables"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"name": "projects",
|
|
15
|
+
"entityType": "tables"
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"name": "push_subscriptions",
|
|
19
|
+
"entityType": "tables"
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"name": "sessions",
|
|
23
|
+
"entityType": "tables"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"name": "tokens",
|
|
27
|
+
"entityType": "tables"
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"type": "text",
|
|
31
|
+
"notNull": false,
|
|
32
|
+
"autoincrement": false,
|
|
33
|
+
"default": null,
|
|
34
|
+
"generated": null,
|
|
35
|
+
"name": "id",
|
|
36
|
+
"entityType": "columns",
|
|
37
|
+
"table": "machine"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"type": "text",
|
|
41
|
+
"notNull": true,
|
|
42
|
+
"autoincrement": false,
|
|
43
|
+
"default": null,
|
|
44
|
+
"generated": null,
|
|
45
|
+
"name": "push_public_key",
|
|
46
|
+
"entityType": "columns",
|
|
47
|
+
"table": "machine"
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"type": "text",
|
|
51
|
+
"notNull": true,
|
|
52
|
+
"autoincrement": false,
|
|
53
|
+
"default": null,
|
|
54
|
+
"generated": null,
|
|
55
|
+
"name": "push_private_key",
|
|
56
|
+
"entityType": "columns",
|
|
57
|
+
"table": "machine"
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"type": "text",
|
|
61
|
+
"notNull": false,
|
|
62
|
+
"autoincrement": false,
|
|
63
|
+
"default": null,
|
|
64
|
+
"generated": null,
|
|
65
|
+
"name": "id",
|
|
66
|
+
"entityType": "columns",
|
|
67
|
+
"table": "projects"
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"type": "text",
|
|
71
|
+
"notNull": true,
|
|
72
|
+
"autoincrement": false,
|
|
73
|
+
"default": null,
|
|
74
|
+
"generated": null,
|
|
75
|
+
"name": "path",
|
|
76
|
+
"entityType": "columns",
|
|
77
|
+
"table": "projects"
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"type": "text",
|
|
81
|
+
"notNull": true,
|
|
82
|
+
"autoincrement": false,
|
|
83
|
+
"default": null,
|
|
84
|
+
"generated": null,
|
|
85
|
+
"name": "name",
|
|
86
|
+
"entityType": "columns",
|
|
87
|
+
"table": "projects"
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
"type": "text",
|
|
91
|
+
"notNull": false,
|
|
92
|
+
"autoincrement": false,
|
|
93
|
+
"default": null,
|
|
94
|
+
"generated": null,
|
|
95
|
+
"name": "logo",
|
|
96
|
+
"entityType": "columns",
|
|
97
|
+
"table": "projects"
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
"type": "text",
|
|
101
|
+
"notNull": false,
|
|
102
|
+
"autoincrement": false,
|
|
103
|
+
"default": null,
|
|
104
|
+
"generated": null,
|
|
105
|
+
"name": "endpoint",
|
|
106
|
+
"entityType": "columns",
|
|
107
|
+
"table": "push_subscriptions"
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
"type": "text",
|
|
111
|
+
"notNull": true,
|
|
112
|
+
"autoincrement": false,
|
|
113
|
+
"default": null,
|
|
114
|
+
"generated": null,
|
|
115
|
+
"name": "p256dh",
|
|
116
|
+
"entityType": "columns",
|
|
117
|
+
"table": "push_subscriptions"
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
"type": "text",
|
|
121
|
+
"notNull": true,
|
|
122
|
+
"autoincrement": false,
|
|
123
|
+
"default": null,
|
|
124
|
+
"generated": null,
|
|
125
|
+
"name": "auth",
|
|
126
|
+
"entityType": "columns",
|
|
127
|
+
"table": "push_subscriptions"
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
"type": "text",
|
|
131
|
+
"notNull": true,
|
|
132
|
+
"autoincrement": false,
|
|
133
|
+
"default": null,
|
|
134
|
+
"generated": null,
|
|
135
|
+
"name": "server",
|
|
136
|
+
"entityType": "columns",
|
|
137
|
+
"table": "push_subscriptions"
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
"type": "text",
|
|
141
|
+
"notNull": false,
|
|
142
|
+
"autoincrement": false,
|
|
143
|
+
"default": null,
|
|
144
|
+
"generated": null,
|
|
145
|
+
"name": "session_id",
|
|
146
|
+
"entityType": "columns",
|
|
147
|
+
"table": "sessions"
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
"type": "integer",
|
|
151
|
+
"notNull": false,
|
|
152
|
+
"autoincrement": false,
|
|
153
|
+
"default": null,
|
|
154
|
+
"generated": null,
|
|
155
|
+
"name": "interacted_at",
|
|
156
|
+
"entityType": "columns",
|
|
157
|
+
"table": "sessions"
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
"type": "text",
|
|
161
|
+
"notNull": true,
|
|
162
|
+
"autoincrement": false,
|
|
163
|
+
"default": null,
|
|
164
|
+
"generated": null,
|
|
165
|
+
"name": "status",
|
|
166
|
+
"entityType": "columns",
|
|
167
|
+
"table": "sessions"
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
"type": "text",
|
|
171
|
+
"notNull": false,
|
|
172
|
+
"autoincrement": false,
|
|
173
|
+
"default": null,
|
|
174
|
+
"generated": null,
|
|
175
|
+
"name": "hash",
|
|
176
|
+
"entityType": "columns",
|
|
177
|
+
"table": "tokens"
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
"type": "text",
|
|
181
|
+
"notNull": false,
|
|
182
|
+
"autoincrement": false,
|
|
183
|
+
"default": null,
|
|
184
|
+
"generated": null,
|
|
185
|
+
"name": "name",
|
|
186
|
+
"entityType": "columns",
|
|
187
|
+
"table": "tokens"
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
"type": "integer",
|
|
191
|
+
"notNull": true,
|
|
192
|
+
"autoincrement": false,
|
|
193
|
+
"default": null,
|
|
194
|
+
"generated": null,
|
|
195
|
+
"name": "created_at",
|
|
196
|
+
"entityType": "columns",
|
|
197
|
+
"table": "tokens"
|
|
198
|
+
},
|
|
199
|
+
{
|
|
200
|
+
"type": "integer",
|
|
201
|
+
"notNull": false,
|
|
202
|
+
"autoincrement": false,
|
|
203
|
+
"default": null,
|
|
204
|
+
"generated": null,
|
|
205
|
+
"name": "last_used_at",
|
|
206
|
+
"entityType": "columns",
|
|
207
|
+
"table": "tokens"
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
"columns": [
|
|
211
|
+
"id"
|
|
212
|
+
],
|
|
213
|
+
"nameExplicit": false,
|
|
214
|
+
"name": "machine_pk",
|
|
215
|
+
"table": "machine",
|
|
216
|
+
"entityType": "pks"
|
|
217
|
+
},
|
|
218
|
+
{
|
|
219
|
+
"columns": [
|
|
220
|
+
"id"
|
|
221
|
+
],
|
|
222
|
+
"nameExplicit": false,
|
|
223
|
+
"name": "projects_pk",
|
|
224
|
+
"table": "projects",
|
|
225
|
+
"entityType": "pks"
|
|
226
|
+
},
|
|
227
|
+
{
|
|
228
|
+
"columns": [
|
|
229
|
+
"endpoint"
|
|
230
|
+
],
|
|
231
|
+
"nameExplicit": false,
|
|
232
|
+
"name": "push_subscriptions_pk",
|
|
233
|
+
"table": "push_subscriptions",
|
|
234
|
+
"entityType": "pks"
|
|
235
|
+
},
|
|
236
|
+
{
|
|
237
|
+
"columns": [
|
|
238
|
+
"session_id"
|
|
239
|
+
],
|
|
240
|
+
"nameExplicit": false,
|
|
241
|
+
"name": "sessions_pk",
|
|
242
|
+
"table": "sessions",
|
|
243
|
+
"entityType": "pks"
|
|
244
|
+
},
|
|
245
|
+
{
|
|
246
|
+
"columns": [
|
|
247
|
+
"hash"
|
|
248
|
+
],
|
|
249
|
+
"nameExplicit": false,
|
|
250
|
+
"name": "tokens_pk",
|
|
251
|
+
"table": "tokens",
|
|
252
|
+
"entityType": "pks"
|
|
253
|
+
},
|
|
254
|
+
{
|
|
255
|
+
"columns": [
|
|
256
|
+
"path"
|
|
257
|
+
],
|
|
258
|
+
"nameExplicit": false,
|
|
259
|
+
"name": "projects_path_unique",
|
|
260
|
+
"entityType": "uniques",
|
|
261
|
+
"table": "projects"
|
|
262
|
+
}
|
|
263
|
+
],
|
|
264
|
+
"renames": []
|
|
265
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
DROP TABLE `push_subscriptions`;--> statement-breakpoint
|
|
2
|
+
CREATE TABLE `push_subscriptions` (
|
|
3
|
+
`endpoint` text PRIMARY KEY,
|
|
4
|
+
`p256dh` text NOT NULL,
|
|
5
|
+
`auth` text NOT NULL,
|
|
6
|
+
`public_key` text NOT NULL,
|
|
7
|
+
`private_key` text NOT NULL,
|
|
8
|
+
`server` text NOT NULL
|
|
9
|
+
);--> statement-breakpoint
|
|
10
|
+
ALTER TABLE `machine` DROP COLUMN `push_public_key`;--> statement-breakpoint
|
|
11
|
+
ALTER TABLE `machine` DROP COLUMN `push_private_key`;
|
|
@@ -0,0 +1,265 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "7",
|
|
3
|
+
"dialect": "sqlite",
|
|
4
|
+
"id": "aff0cac7-eef8-4916-a9f1-b8d98ee87aae",
|
|
5
|
+
"prevIds": [
|
|
6
|
+
"a4e66bc8-c140-48d4-9c7b-6bbfb38a5009"
|
|
7
|
+
],
|
|
8
|
+
"ddl": [
|
|
9
|
+
{
|
|
10
|
+
"name": "machine",
|
|
11
|
+
"entityType": "tables"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"name": "projects",
|
|
15
|
+
"entityType": "tables"
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"name": "push_subscriptions",
|
|
19
|
+
"entityType": "tables"
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"name": "sessions",
|
|
23
|
+
"entityType": "tables"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"name": "tokens",
|
|
27
|
+
"entityType": "tables"
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"type": "text",
|
|
31
|
+
"notNull": false,
|
|
32
|
+
"autoincrement": false,
|
|
33
|
+
"default": null,
|
|
34
|
+
"generated": null,
|
|
35
|
+
"name": "id",
|
|
36
|
+
"entityType": "columns",
|
|
37
|
+
"table": "machine"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"type": "text",
|
|
41
|
+
"notNull": false,
|
|
42
|
+
"autoincrement": false,
|
|
43
|
+
"default": null,
|
|
44
|
+
"generated": null,
|
|
45
|
+
"name": "id",
|
|
46
|
+
"entityType": "columns",
|
|
47
|
+
"table": "projects"
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"type": "text",
|
|
51
|
+
"notNull": true,
|
|
52
|
+
"autoincrement": false,
|
|
53
|
+
"default": null,
|
|
54
|
+
"generated": null,
|
|
55
|
+
"name": "path",
|
|
56
|
+
"entityType": "columns",
|
|
57
|
+
"table": "projects"
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"type": "text",
|
|
61
|
+
"notNull": true,
|
|
62
|
+
"autoincrement": false,
|
|
63
|
+
"default": null,
|
|
64
|
+
"generated": null,
|
|
65
|
+
"name": "name",
|
|
66
|
+
"entityType": "columns",
|
|
67
|
+
"table": "projects"
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"type": "text",
|
|
71
|
+
"notNull": false,
|
|
72
|
+
"autoincrement": false,
|
|
73
|
+
"default": null,
|
|
74
|
+
"generated": null,
|
|
75
|
+
"name": "logo",
|
|
76
|
+
"entityType": "columns",
|
|
77
|
+
"table": "projects"
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"type": "text",
|
|
81
|
+
"notNull": false,
|
|
82
|
+
"autoincrement": false,
|
|
83
|
+
"default": null,
|
|
84
|
+
"generated": null,
|
|
85
|
+
"name": "endpoint",
|
|
86
|
+
"entityType": "columns",
|
|
87
|
+
"table": "push_subscriptions"
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
"type": "text",
|
|
91
|
+
"notNull": true,
|
|
92
|
+
"autoincrement": false,
|
|
93
|
+
"default": null,
|
|
94
|
+
"generated": null,
|
|
95
|
+
"name": "p256dh",
|
|
96
|
+
"entityType": "columns",
|
|
97
|
+
"table": "push_subscriptions"
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
"type": "text",
|
|
101
|
+
"notNull": true,
|
|
102
|
+
"autoincrement": false,
|
|
103
|
+
"default": null,
|
|
104
|
+
"generated": null,
|
|
105
|
+
"name": "auth",
|
|
106
|
+
"entityType": "columns",
|
|
107
|
+
"table": "push_subscriptions"
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
"type": "text",
|
|
111
|
+
"notNull": true,
|
|
112
|
+
"autoincrement": false,
|
|
113
|
+
"default": null,
|
|
114
|
+
"generated": null,
|
|
115
|
+
"name": "public_key",
|
|
116
|
+
"entityType": "columns",
|
|
117
|
+
"table": "push_subscriptions"
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
"type": "text",
|
|
121
|
+
"notNull": true,
|
|
122
|
+
"autoincrement": false,
|
|
123
|
+
"default": null,
|
|
124
|
+
"generated": null,
|
|
125
|
+
"name": "private_key",
|
|
126
|
+
"entityType": "columns",
|
|
127
|
+
"table": "push_subscriptions"
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
"type": "text",
|
|
131
|
+
"notNull": true,
|
|
132
|
+
"autoincrement": false,
|
|
133
|
+
"default": null,
|
|
134
|
+
"generated": null,
|
|
135
|
+
"name": "server",
|
|
136
|
+
"entityType": "columns",
|
|
137
|
+
"table": "push_subscriptions"
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
"type": "text",
|
|
141
|
+
"notNull": false,
|
|
142
|
+
"autoincrement": false,
|
|
143
|
+
"default": null,
|
|
144
|
+
"generated": null,
|
|
145
|
+
"name": "session_id",
|
|
146
|
+
"entityType": "columns",
|
|
147
|
+
"table": "sessions"
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
"type": "integer",
|
|
151
|
+
"notNull": false,
|
|
152
|
+
"autoincrement": false,
|
|
153
|
+
"default": null,
|
|
154
|
+
"generated": null,
|
|
155
|
+
"name": "interacted_at",
|
|
156
|
+
"entityType": "columns",
|
|
157
|
+
"table": "sessions"
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
"type": "text",
|
|
161
|
+
"notNull": true,
|
|
162
|
+
"autoincrement": false,
|
|
163
|
+
"default": null,
|
|
164
|
+
"generated": null,
|
|
165
|
+
"name": "status",
|
|
166
|
+
"entityType": "columns",
|
|
167
|
+
"table": "sessions"
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
"type": "text",
|
|
171
|
+
"notNull": false,
|
|
172
|
+
"autoincrement": false,
|
|
173
|
+
"default": null,
|
|
174
|
+
"generated": null,
|
|
175
|
+
"name": "hash",
|
|
176
|
+
"entityType": "columns",
|
|
177
|
+
"table": "tokens"
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
"type": "text",
|
|
181
|
+
"notNull": false,
|
|
182
|
+
"autoincrement": false,
|
|
183
|
+
"default": null,
|
|
184
|
+
"generated": null,
|
|
185
|
+
"name": "name",
|
|
186
|
+
"entityType": "columns",
|
|
187
|
+
"table": "tokens"
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
"type": "integer",
|
|
191
|
+
"notNull": true,
|
|
192
|
+
"autoincrement": false,
|
|
193
|
+
"default": null,
|
|
194
|
+
"generated": null,
|
|
195
|
+
"name": "created_at",
|
|
196
|
+
"entityType": "columns",
|
|
197
|
+
"table": "tokens"
|
|
198
|
+
},
|
|
199
|
+
{
|
|
200
|
+
"type": "integer",
|
|
201
|
+
"notNull": false,
|
|
202
|
+
"autoincrement": false,
|
|
203
|
+
"default": null,
|
|
204
|
+
"generated": null,
|
|
205
|
+
"name": "last_used_at",
|
|
206
|
+
"entityType": "columns",
|
|
207
|
+
"table": "tokens"
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
"columns": [
|
|
211
|
+
"id"
|
|
212
|
+
],
|
|
213
|
+
"nameExplicit": false,
|
|
214
|
+
"name": "machine_pk",
|
|
215
|
+
"table": "machine",
|
|
216
|
+
"entityType": "pks"
|
|
217
|
+
},
|
|
218
|
+
{
|
|
219
|
+
"columns": [
|
|
220
|
+
"id"
|
|
221
|
+
],
|
|
222
|
+
"nameExplicit": false,
|
|
223
|
+
"name": "projects_pk",
|
|
224
|
+
"table": "projects",
|
|
225
|
+
"entityType": "pks"
|
|
226
|
+
},
|
|
227
|
+
{
|
|
228
|
+
"columns": [
|
|
229
|
+
"endpoint"
|
|
230
|
+
],
|
|
231
|
+
"nameExplicit": false,
|
|
232
|
+
"name": "push_subscriptions_pk",
|
|
233
|
+
"table": "push_subscriptions",
|
|
234
|
+
"entityType": "pks"
|
|
235
|
+
},
|
|
236
|
+
{
|
|
237
|
+
"columns": [
|
|
238
|
+
"session_id"
|
|
239
|
+
],
|
|
240
|
+
"nameExplicit": false,
|
|
241
|
+
"name": "sessions_pk",
|
|
242
|
+
"table": "sessions",
|
|
243
|
+
"entityType": "pks"
|
|
244
|
+
},
|
|
245
|
+
{
|
|
246
|
+
"columns": [
|
|
247
|
+
"hash"
|
|
248
|
+
],
|
|
249
|
+
"nameExplicit": false,
|
|
250
|
+
"name": "tokens_pk",
|
|
251
|
+
"table": "tokens",
|
|
252
|
+
"entityType": "pks"
|
|
253
|
+
},
|
|
254
|
+
{
|
|
255
|
+
"columns": [
|
|
256
|
+
"path"
|
|
257
|
+
],
|
|
258
|
+
"nameExplicit": false,
|
|
259
|
+
"name": "projects_path_unique",
|
|
260
|
+
"entityType": "uniques",
|
|
261
|
+
"table": "projects"
|
|
262
|
+
}
|
|
263
|
+
],
|
|
264
|
+
"renames": []
|
|
265
|
+
}
|