@open-mercato/core 0.5.1-develop.2975.ccbadc8198 → 0.5.1-develop.2996.ce62fd491c
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/.turbo/turbo-build.log +2 -2
- package/dist/generated/entities/sidebar_variant/index.js +25 -0
- package/dist/generated/entities/sidebar_variant/index.js.map +7 -0
- package/dist/generated/entities.ids.generated.js +1 -0
- package/dist/generated/entities.ids.generated.js.map +2 -2
- package/dist/generated/entity-fields-registry.js +13 -0
- package/dist/generated/entity-fields-registry.js.map +2 -2
- package/dist/helpers/integration/authUi.js +1 -1
- package/dist/helpers/integration/authUi.js.map +2 -2
- package/dist/modules/audit_logs/services/actionLogService.js +4 -5
- package/dist/modules/audit_logs/services/actionLogService.js.map +2 -2
- package/dist/modules/auth/api/sidebar/preferences/route.js +224 -35
- package/dist/modules/auth/api/sidebar/preferences/route.js.map +3 -3
- package/dist/modules/auth/api/sidebar/variants/[id]/route.js +161 -0
- package/dist/modules/auth/api/sidebar/variants/[id]/route.js.map +7 -0
- package/dist/modules/auth/api/sidebar/variants/route.js +142 -0
- package/dist/modules/auth/api/sidebar/variants/route.js.map +7 -0
- package/dist/modules/auth/backend/sidebar-customization/page.js +16 -0
- package/dist/modules/auth/backend/sidebar-customization/page.js.map +7 -0
- package/dist/modules/auth/backend/sidebar-customization/page.meta.js +28 -0
- package/dist/modules/auth/backend/sidebar-customization/page.meta.js.map +7 -0
- package/dist/modules/auth/data/entities.js +45 -4
- package/dist/modules/auth/data/entities.js.map +2 -2
- package/dist/modules/auth/data/validators.js +63 -1
- package/dist/modules/auth/data/validators.js.map +2 -2
- package/dist/modules/auth/migrations/Migration20260427081815.js +15 -0
- package/dist/modules/auth/migrations/Migration20260427081815.js.map +7 -0
- package/dist/modules/auth/migrations/Migration20260427124900.js +15 -0
- package/dist/modules/auth/migrations/Migration20260427124900.js.map +7 -0
- package/dist/modules/auth/migrations/Migration20260427143311.js +72 -0
- package/dist/modules/auth/migrations/Migration20260427143311.js.map +7 -0
- package/dist/modules/auth/services/sidebarPreferencesService.js +176 -16
- package/dist/modules/auth/services/sidebarPreferencesService.js.map +2 -2
- package/dist/modules/customers/backend/customers/companies/[id]/page.js +3 -1
- package/dist/modules/customers/backend/customers/companies/[id]/page.js.map +2 -2
- package/dist/modules/customers/backend/customers/companies-v2/[id]/page.js +4 -2
- package/dist/modules/customers/backend/customers/companies-v2/[id]/page.js.map +2 -2
- package/dist/modules/customers/backend/customers/people-v2/[id]/page.js +8 -3
- package/dist/modules/customers/backend/customers/people-v2/[id]/page.js.map +2 -2
- package/dist/modules/customers/components/detail/CompanyPeopleSection.js +3 -2
- package/dist/modules/customers/components/detail/CompanyPeopleSection.js.map +2 -2
- package/dist/modules/customers/components/formConfig.js +3 -3
- package/dist/modules/customers/components/formConfig.js.map +2 -2
- package/dist/modules/customers/lib/displayName.js +12 -0
- package/dist/modules/customers/lib/displayName.js.map +2 -2
- package/dist/modules/entities/cli.js +5 -6
- package/dist/modules/entities/cli.js.map +2 -2
- package/dist/modules/portal/frontend/[orgSlug]/portal/reset-password/page.js +124 -0
- package/dist/modules/portal/frontend/[orgSlug]/portal/reset-password/page.js.map +7 -0
- package/dist/modules/portal/frontend/[orgSlug]/portal/reset-password/page.meta.js +11 -0
- package/dist/modules/portal/frontend/[orgSlug]/portal/reset-password/page.meta.js.map +7 -0
- package/generated/entities/sidebar_variant/index.ts +11 -0
- package/generated/entities.ids.generated.ts +1 -0
- package/generated/entity-fields-registry.ts +13 -0
- package/package.json +6 -6
- package/src/helpers/integration/authUi.ts +1 -1
- package/src/modules/audit_logs/services/actionLogService.ts +5 -6
- package/src/modules/auth/api/sidebar/preferences/route.ts +266 -34
- package/src/modules/auth/api/sidebar/variants/[id]/route.ts +183 -0
- package/src/modules/auth/api/sidebar/variants/route.ts +157 -0
- package/src/modules/auth/backend/sidebar-customization/page.meta.ts +34 -0
- package/src/modules/auth/backend/sidebar-customization/page.tsx +17 -0
- package/src/modules/auth/data/entities.ts +48 -2
- package/src/modules/auth/data/validators.ts +70 -0
- package/src/modules/auth/migrations/.snapshot-open-mercato.json +790 -71
- package/src/modules/auth/migrations/Migration20260427081815.ts +16 -0
- package/src/modules/auth/migrations/Migration20260427124900.ts +19 -0
- package/src/modules/auth/migrations/Migration20260427143311.ts +83 -0
- package/src/modules/auth/services/sidebarPreferencesService.ts +243 -18
- package/src/modules/customers/backend/customers/companies/[id]/page.tsx +5 -4
- package/src/modules/customers/backend/customers/companies-v2/[id]/page.tsx +6 -5
- package/src/modules/customers/backend/customers/people-v2/[id]/page.tsx +13 -9
- package/src/modules/customers/components/detail/CompanyPeopleSection.tsx +3 -2
- package/src/modules/customers/components/formConfig.tsx +3 -3
- package/src/modules/customers/lib/displayName.ts +21 -0
- package/src/modules/entities/cli.ts +5 -6
- package/src/modules/portal/frontend/[orgSlug]/portal/reset-password/page.meta.ts +9 -0
- package/src/modules/portal/frontend/[orgSlug]/portal/reset-password/page.tsx +168 -0
- package/src/modules/portal/i18n/de.json +20 -0
- package/src/modules/portal/i18n/en.json +20 -0
- package/src/modules/portal/i18n/es.json +20 -0
- package/src/modules/portal/i18n/pl.json +20 -0
|
@@ -1,19 +1,27 @@
|
|
|
1
1
|
{
|
|
2
|
+
"name": "public",
|
|
2
3
|
"namespaces": [
|
|
3
4
|
"public"
|
|
4
5
|
],
|
|
5
|
-
"name": "public",
|
|
6
6
|
"tables": [
|
|
7
7
|
{
|
|
8
|
+
"name": "roles",
|
|
9
|
+
"schema": "public",
|
|
8
10
|
"columns": {
|
|
9
11
|
"id": {
|
|
10
12
|
"name": "id",
|
|
11
13
|
"type": "uuid",
|
|
12
14
|
"unsigned": false,
|
|
13
15
|
"autoincrement": false,
|
|
14
|
-
"primary":
|
|
16
|
+
"primary": true,
|
|
15
17
|
"nullable": false,
|
|
18
|
+
"unique": false,
|
|
19
|
+
"length": null,
|
|
20
|
+
"precision": null,
|
|
21
|
+
"scale": null,
|
|
16
22
|
"default": "gen_random_uuid()",
|
|
23
|
+
"comment": null,
|
|
24
|
+
"enumItems": [],
|
|
17
25
|
"mappedType": "uuid"
|
|
18
26
|
},
|
|
19
27
|
"name": {
|
|
@@ -23,6 +31,13 @@
|
|
|
23
31
|
"autoincrement": false,
|
|
24
32
|
"primary": false,
|
|
25
33
|
"nullable": false,
|
|
34
|
+
"unique": false,
|
|
35
|
+
"length": null,
|
|
36
|
+
"precision": null,
|
|
37
|
+
"scale": null,
|
|
38
|
+
"default": null,
|
|
39
|
+
"comment": null,
|
|
40
|
+
"enumItems": [],
|
|
26
41
|
"mappedType": "text"
|
|
27
42
|
},
|
|
28
43
|
"tenant_id": {
|
|
@@ -32,6 +47,13 @@
|
|
|
32
47
|
"autoincrement": false,
|
|
33
48
|
"primary": false,
|
|
34
49
|
"nullable": false,
|
|
50
|
+
"unique": false,
|
|
51
|
+
"length": null,
|
|
52
|
+
"precision": null,
|
|
53
|
+
"scale": null,
|
|
54
|
+
"default": null,
|
|
55
|
+
"comment": null,
|
|
56
|
+
"enumItems": [],
|
|
35
57
|
"mappedType": "uuid"
|
|
36
58
|
},
|
|
37
59
|
"created_at": {
|
|
@@ -41,7 +63,13 @@
|
|
|
41
63
|
"autoincrement": false,
|
|
42
64
|
"primary": false,
|
|
43
65
|
"nullable": false,
|
|
66
|
+
"unique": false,
|
|
44
67
|
"length": 6,
|
|
68
|
+
"precision": null,
|
|
69
|
+
"scale": null,
|
|
70
|
+
"default": null,
|
|
71
|
+
"comment": null,
|
|
72
|
+
"enumItems": [],
|
|
45
73
|
"mappedType": "datetime"
|
|
46
74
|
},
|
|
47
75
|
"deleted_at": {
|
|
@@ -51,12 +79,16 @@
|
|
|
51
79
|
"autoincrement": false,
|
|
52
80
|
"primary": false,
|
|
53
81
|
"nullable": true,
|
|
82
|
+
"unique": false,
|
|
54
83
|
"length": 6,
|
|
84
|
+
"precision": null,
|
|
85
|
+
"scale": null,
|
|
86
|
+
"default": null,
|
|
87
|
+
"comment": null,
|
|
88
|
+
"enumItems": [],
|
|
55
89
|
"mappedType": "datetime"
|
|
56
90
|
}
|
|
57
91
|
},
|
|
58
|
-
"name": "roles",
|
|
59
|
-
"schema": "public",
|
|
60
92
|
"indexes": [
|
|
61
93
|
{
|
|
62
94
|
"keyName": "roles_tenant_id_name_unique",
|
|
@@ -85,15 +117,23 @@
|
|
|
85
117
|
"nativeEnums": {}
|
|
86
118
|
},
|
|
87
119
|
{
|
|
120
|
+
"name": "role_acls",
|
|
121
|
+
"schema": "public",
|
|
88
122
|
"columns": {
|
|
89
123
|
"id": {
|
|
90
124
|
"name": "id",
|
|
91
125
|
"type": "uuid",
|
|
92
126
|
"unsigned": false,
|
|
93
127
|
"autoincrement": false,
|
|
94
|
-
"primary":
|
|
128
|
+
"primary": true,
|
|
95
129
|
"nullable": false,
|
|
130
|
+
"unique": false,
|
|
131
|
+
"length": null,
|
|
132
|
+
"precision": null,
|
|
133
|
+
"scale": null,
|
|
96
134
|
"default": "gen_random_uuid()",
|
|
135
|
+
"comment": null,
|
|
136
|
+
"enumItems": [],
|
|
97
137
|
"mappedType": "uuid"
|
|
98
138
|
},
|
|
99
139
|
"role_id": {
|
|
@@ -103,6 +143,13 @@
|
|
|
103
143
|
"autoincrement": false,
|
|
104
144
|
"primary": false,
|
|
105
145
|
"nullable": false,
|
|
146
|
+
"unique": false,
|
|
147
|
+
"length": null,
|
|
148
|
+
"precision": null,
|
|
149
|
+
"scale": null,
|
|
150
|
+
"default": null,
|
|
151
|
+
"comment": null,
|
|
152
|
+
"enumItems": [],
|
|
106
153
|
"mappedType": "uuid"
|
|
107
154
|
},
|
|
108
155
|
"tenant_id": {
|
|
@@ -112,6 +159,13 @@
|
|
|
112
159
|
"autoincrement": false,
|
|
113
160
|
"primary": false,
|
|
114
161
|
"nullable": false,
|
|
162
|
+
"unique": false,
|
|
163
|
+
"length": null,
|
|
164
|
+
"precision": null,
|
|
165
|
+
"scale": null,
|
|
166
|
+
"default": null,
|
|
167
|
+
"comment": null,
|
|
168
|
+
"enumItems": [],
|
|
115
169
|
"mappedType": "uuid"
|
|
116
170
|
},
|
|
117
171
|
"features_json": {
|
|
@@ -121,6 +175,13 @@
|
|
|
121
175
|
"autoincrement": false,
|
|
122
176
|
"primary": false,
|
|
123
177
|
"nullable": true,
|
|
178
|
+
"unique": false,
|
|
179
|
+
"length": null,
|
|
180
|
+
"precision": null,
|
|
181
|
+
"scale": null,
|
|
182
|
+
"default": null,
|
|
183
|
+
"comment": null,
|
|
184
|
+
"enumItems": [],
|
|
124
185
|
"mappedType": "json"
|
|
125
186
|
},
|
|
126
187
|
"is_super_admin": {
|
|
@@ -130,7 +191,13 @@
|
|
|
130
191
|
"autoincrement": false,
|
|
131
192
|
"primary": false,
|
|
132
193
|
"nullable": false,
|
|
194
|
+
"unique": false,
|
|
195
|
+
"length": null,
|
|
196
|
+
"precision": null,
|
|
197
|
+
"scale": null,
|
|
133
198
|
"default": "false",
|
|
199
|
+
"comment": null,
|
|
200
|
+
"enumItems": [],
|
|
134
201
|
"mappedType": "boolean"
|
|
135
202
|
},
|
|
136
203
|
"organizations_json": {
|
|
@@ -140,6 +207,13 @@
|
|
|
140
207
|
"autoincrement": false,
|
|
141
208
|
"primary": false,
|
|
142
209
|
"nullable": true,
|
|
210
|
+
"unique": false,
|
|
211
|
+
"length": null,
|
|
212
|
+
"precision": null,
|
|
213
|
+
"scale": null,
|
|
214
|
+
"default": null,
|
|
215
|
+
"comment": null,
|
|
216
|
+
"enumItems": [],
|
|
143
217
|
"mappedType": "json"
|
|
144
218
|
},
|
|
145
219
|
"created_at": {
|
|
@@ -149,7 +223,13 @@
|
|
|
149
223
|
"autoincrement": false,
|
|
150
224
|
"primary": false,
|
|
151
225
|
"nullable": false,
|
|
226
|
+
"unique": false,
|
|
152
227
|
"length": 6,
|
|
228
|
+
"precision": null,
|
|
229
|
+
"scale": null,
|
|
230
|
+
"default": null,
|
|
231
|
+
"comment": null,
|
|
232
|
+
"enumItems": [],
|
|
153
233
|
"mappedType": "datetime"
|
|
154
234
|
},
|
|
155
235
|
"updated_at": {
|
|
@@ -159,7 +239,13 @@
|
|
|
159
239
|
"autoincrement": false,
|
|
160
240
|
"primary": false,
|
|
161
241
|
"nullable": true,
|
|
242
|
+
"unique": false,
|
|
162
243
|
"length": 6,
|
|
244
|
+
"precision": null,
|
|
245
|
+
"scale": null,
|
|
246
|
+
"default": null,
|
|
247
|
+
"comment": null,
|
|
248
|
+
"enumItems": [],
|
|
163
249
|
"mappedType": "datetime"
|
|
164
250
|
},
|
|
165
251
|
"deleted_at": {
|
|
@@ -169,12 +255,16 @@
|
|
|
169
255
|
"autoincrement": false,
|
|
170
256
|
"primary": false,
|
|
171
257
|
"nullable": true,
|
|
258
|
+
"unique": false,
|
|
172
259
|
"length": 6,
|
|
260
|
+
"precision": null,
|
|
261
|
+
"scale": null,
|
|
262
|
+
"default": null,
|
|
263
|
+
"comment": null,
|
|
264
|
+
"enumItems": [],
|
|
173
265
|
"mappedType": "datetime"
|
|
174
266
|
}
|
|
175
267
|
},
|
|
176
|
-
"name": "role_acls",
|
|
177
|
-
"schema": "public",
|
|
178
268
|
"indexes": [
|
|
179
269
|
{
|
|
180
270
|
"keyName": "role_acls_pkey",
|
|
@@ -198,22 +288,29 @@
|
|
|
198
288
|
"referencedColumnNames": [
|
|
199
289
|
"id"
|
|
200
290
|
],
|
|
201
|
-
"referencedTableName": "public.roles"
|
|
202
|
-
"updateRule": "cascade"
|
|
291
|
+
"referencedTableName": "public.roles"
|
|
203
292
|
}
|
|
204
293
|
},
|
|
205
294
|
"nativeEnums": {}
|
|
206
295
|
},
|
|
207
296
|
{
|
|
297
|
+
"name": "role_sidebar_preferences",
|
|
298
|
+
"schema": "public",
|
|
208
299
|
"columns": {
|
|
209
300
|
"id": {
|
|
210
301
|
"name": "id",
|
|
211
302
|
"type": "uuid",
|
|
212
303
|
"unsigned": false,
|
|
213
304
|
"autoincrement": false,
|
|
214
|
-
"primary":
|
|
305
|
+
"primary": true,
|
|
215
306
|
"nullable": false,
|
|
307
|
+
"unique": false,
|
|
308
|
+
"length": null,
|
|
309
|
+
"precision": null,
|
|
310
|
+
"scale": null,
|
|
216
311
|
"default": "gen_random_uuid()",
|
|
312
|
+
"comment": null,
|
|
313
|
+
"enumItems": [],
|
|
217
314
|
"mappedType": "uuid"
|
|
218
315
|
},
|
|
219
316
|
"role_id": {
|
|
@@ -223,6 +320,13 @@
|
|
|
223
320
|
"autoincrement": false,
|
|
224
321
|
"primary": false,
|
|
225
322
|
"nullable": false,
|
|
323
|
+
"unique": false,
|
|
324
|
+
"length": null,
|
|
325
|
+
"precision": null,
|
|
326
|
+
"scale": null,
|
|
327
|
+
"default": null,
|
|
328
|
+
"comment": null,
|
|
329
|
+
"enumItems": [],
|
|
226
330
|
"mappedType": "uuid"
|
|
227
331
|
},
|
|
228
332
|
"tenant_id": {
|
|
@@ -232,6 +336,13 @@
|
|
|
232
336
|
"autoincrement": false,
|
|
233
337
|
"primary": false,
|
|
234
338
|
"nullable": true,
|
|
339
|
+
"unique": false,
|
|
340
|
+
"length": null,
|
|
341
|
+
"precision": null,
|
|
342
|
+
"scale": null,
|
|
343
|
+
"default": null,
|
|
344
|
+
"comment": null,
|
|
345
|
+
"enumItems": [],
|
|
235
346
|
"mappedType": "uuid"
|
|
236
347
|
},
|
|
237
348
|
"locale": {
|
|
@@ -241,6 +352,13 @@
|
|
|
241
352
|
"autoincrement": false,
|
|
242
353
|
"primary": false,
|
|
243
354
|
"nullable": false,
|
|
355
|
+
"unique": false,
|
|
356
|
+
"length": null,
|
|
357
|
+
"precision": null,
|
|
358
|
+
"scale": null,
|
|
359
|
+
"default": null,
|
|
360
|
+
"comment": null,
|
|
361
|
+
"enumItems": [],
|
|
244
362
|
"mappedType": "text"
|
|
245
363
|
},
|
|
246
364
|
"settings_json": {
|
|
@@ -250,6 +368,13 @@
|
|
|
250
368
|
"autoincrement": false,
|
|
251
369
|
"primary": false,
|
|
252
370
|
"nullable": true,
|
|
371
|
+
"unique": false,
|
|
372
|
+
"length": null,
|
|
373
|
+
"precision": null,
|
|
374
|
+
"scale": null,
|
|
375
|
+
"default": null,
|
|
376
|
+
"comment": null,
|
|
377
|
+
"enumItems": [],
|
|
253
378
|
"mappedType": "json"
|
|
254
379
|
},
|
|
255
380
|
"created_at": {
|
|
@@ -259,7 +384,13 @@
|
|
|
259
384
|
"autoincrement": false,
|
|
260
385
|
"primary": false,
|
|
261
386
|
"nullable": false,
|
|
387
|
+
"unique": false,
|
|
262
388
|
"length": 6,
|
|
389
|
+
"precision": null,
|
|
390
|
+
"scale": null,
|
|
391
|
+
"default": null,
|
|
392
|
+
"comment": null,
|
|
393
|
+
"enumItems": [],
|
|
263
394
|
"mappedType": "datetime"
|
|
264
395
|
},
|
|
265
396
|
"updated_at": {
|
|
@@ -269,7 +400,13 @@
|
|
|
269
400
|
"autoincrement": false,
|
|
270
401
|
"primary": false,
|
|
271
402
|
"nullable": true,
|
|
403
|
+
"unique": false,
|
|
272
404
|
"length": 6,
|
|
405
|
+
"precision": null,
|
|
406
|
+
"scale": null,
|
|
407
|
+
"default": null,
|
|
408
|
+
"comment": null,
|
|
409
|
+
"enumItems": [],
|
|
273
410
|
"mappedType": "datetime"
|
|
274
411
|
},
|
|
275
412
|
"deleted_at": {
|
|
@@ -279,25 +416,17 @@
|
|
|
279
416
|
"autoincrement": false,
|
|
280
417
|
"primary": false,
|
|
281
418
|
"nullable": true,
|
|
419
|
+
"unique": false,
|
|
282
420
|
"length": 6,
|
|
421
|
+
"precision": null,
|
|
422
|
+
"scale": null,
|
|
423
|
+
"default": null,
|
|
424
|
+
"comment": null,
|
|
425
|
+
"enumItems": [],
|
|
283
426
|
"mappedType": "datetime"
|
|
284
427
|
}
|
|
285
428
|
},
|
|
286
|
-
"name": "role_sidebar_preferences",
|
|
287
|
-
"schema": "public",
|
|
288
429
|
"indexes": [
|
|
289
|
-
{
|
|
290
|
-
"keyName": "role_sidebar_preferences_role_id_tenant_id_locale_unique",
|
|
291
|
-
"columnNames": [
|
|
292
|
-
"role_id",
|
|
293
|
-
"tenant_id",
|
|
294
|
-
"locale"
|
|
295
|
-
],
|
|
296
|
-
"composite": true,
|
|
297
|
-
"constraint": true,
|
|
298
|
-
"primary": false,
|
|
299
|
-
"unique": true
|
|
300
|
-
},
|
|
301
430
|
{
|
|
302
431
|
"keyName": "role_sidebar_preferences_pkey",
|
|
303
432
|
"columnNames": [
|
|
@@ -320,22 +449,29 @@
|
|
|
320
449
|
"referencedColumnNames": [
|
|
321
450
|
"id"
|
|
322
451
|
],
|
|
323
|
-
"referencedTableName": "public.roles"
|
|
324
|
-
"updateRule": "cascade"
|
|
452
|
+
"referencedTableName": "public.roles"
|
|
325
453
|
}
|
|
326
454
|
},
|
|
327
455
|
"nativeEnums": {}
|
|
328
456
|
},
|
|
329
457
|
{
|
|
458
|
+
"name": "users",
|
|
459
|
+
"schema": "public",
|
|
330
460
|
"columns": {
|
|
331
461
|
"id": {
|
|
332
462
|
"name": "id",
|
|
333
463
|
"type": "uuid",
|
|
334
464
|
"unsigned": false,
|
|
335
465
|
"autoincrement": false,
|
|
336
|
-
"primary":
|
|
466
|
+
"primary": true,
|
|
337
467
|
"nullable": false,
|
|
468
|
+
"unique": false,
|
|
469
|
+
"length": null,
|
|
470
|
+
"precision": null,
|
|
471
|
+
"scale": null,
|
|
338
472
|
"default": "gen_random_uuid()",
|
|
473
|
+
"comment": null,
|
|
474
|
+
"enumItems": [],
|
|
339
475
|
"mappedType": "uuid"
|
|
340
476
|
},
|
|
341
477
|
"tenant_id": {
|
|
@@ -345,6 +481,13 @@
|
|
|
345
481
|
"autoincrement": false,
|
|
346
482
|
"primary": false,
|
|
347
483
|
"nullable": true,
|
|
484
|
+
"unique": false,
|
|
485
|
+
"length": null,
|
|
486
|
+
"precision": null,
|
|
487
|
+
"scale": null,
|
|
488
|
+
"default": null,
|
|
489
|
+
"comment": null,
|
|
490
|
+
"enumItems": [],
|
|
348
491
|
"mappedType": "uuid"
|
|
349
492
|
},
|
|
350
493
|
"organization_id": {
|
|
@@ -354,6 +497,13 @@
|
|
|
354
497
|
"autoincrement": false,
|
|
355
498
|
"primary": false,
|
|
356
499
|
"nullable": true,
|
|
500
|
+
"unique": false,
|
|
501
|
+
"length": null,
|
|
502
|
+
"precision": null,
|
|
503
|
+
"scale": null,
|
|
504
|
+
"default": null,
|
|
505
|
+
"comment": null,
|
|
506
|
+
"enumItems": [],
|
|
357
507
|
"mappedType": "uuid"
|
|
358
508
|
},
|
|
359
509
|
"email": {
|
|
@@ -363,6 +513,13 @@
|
|
|
363
513
|
"autoincrement": false,
|
|
364
514
|
"primary": false,
|
|
365
515
|
"nullable": false,
|
|
516
|
+
"unique": false,
|
|
517
|
+
"length": null,
|
|
518
|
+
"precision": null,
|
|
519
|
+
"scale": null,
|
|
520
|
+
"default": null,
|
|
521
|
+
"comment": null,
|
|
522
|
+
"enumItems": [],
|
|
366
523
|
"mappedType": "text"
|
|
367
524
|
},
|
|
368
525
|
"email_hash": {
|
|
@@ -372,6 +529,13 @@
|
|
|
372
529
|
"autoincrement": false,
|
|
373
530
|
"primary": false,
|
|
374
531
|
"nullable": true,
|
|
532
|
+
"unique": false,
|
|
533
|
+
"length": null,
|
|
534
|
+
"precision": null,
|
|
535
|
+
"scale": null,
|
|
536
|
+
"default": null,
|
|
537
|
+
"comment": null,
|
|
538
|
+
"enumItems": [],
|
|
375
539
|
"mappedType": "text"
|
|
376
540
|
},
|
|
377
541
|
"name": {
|
|
@@ -381,6 +545,13 @@
|
|
|
381
545
|
"autoincrement": false,
|
|
382
546
|
"primary": false,
|
|
383
547
|
"nullable": true,
|
|
548
|
+
"unique": false,
|
|
549
|
+
"length": null,
|
|
550
|
+
"precision": null,
|
|
551
|
+
"scale": null,
|
|
552
|
+
"default": null,
|
|
553
|
+
"comment": null,
|
|
554
|
+
"enumItems": [],
|
|
384
555
|
"mappedType": "text"
|
|
385
556
|
},
|
|
386
557
|
"password_hash": {
|
|
@@ -390,6 +561,13 @@
|
|
|
390
561
|
"autoincrement": false,
|
|
391
562
|
"primary": false,
|
|
392
563
|
"nullable": true,
|
|
564
|
+
"unique": false,
|
|
565
|
+
"length": null,
|
|
566
|
+
"precision": null,
|
|
567
|
+
"scale": null,
|
|
568
|
+
"default": null,
|
|
569
|
+
"comment": null,
|
|
570
|
+
"enumItems": [],
|
|
393
571
|
"mappedType": "text"
|
|
394
572
|
},
|
|
395
573
|
"is_confirmed": {
|
|
@@ -399,7 +577,13 @@
|
|
|
399
577
|
"autoincrement": false,
|
|
400
578
|
"primary": false,
|
|
401
579
|
"nullable": false,
|
|
580
|
+
"unique": false,
|
|
581
|
+
"length": null,
|
|
582
|
+
"precision": null,
|
|
583
|
+
"scale": null,
|
|
402
584
|
"default": "true",
|
|
585
|
+
"comment": null,
|
|
586
|
+
"enumItems": [],
|
|
403
587
|
"mappedType": "boolean"
|
|
404
588
|
},
|
|
405
589
|
"last_login_at": {
|
|
@@ -409,7 +593,13 @@
|
|
|
409
593
|
"autoincrement": false,
|
|
410
594
|
"primary": false,
|
|
411
595
|
"nullable": true,
|
|
596
|
+
"unique": false,
|
|
412
597
|
"length": 6,
|
|
598
|
+
"precision": null,
|
|
599
|
+
"scale": null,
|
|
600
|
+
"default": null,
|
|
601
|
+
"comment": null,
|
|
602
|
+
"enumItems": [],
|
|
413
603
|
"mappedType": "datetime"
|
|
414
604
|
},
|
|
415
605
|
"created_at": {
|
|
@@ -419,7 +609,13 @@
|
|
|
419
609
|
"autoincrement": false,
|
|
420
610
|
"primary": false,
|
|
421
611
|
"nullable": false,
|
|
612
|
+
"unique": false,
|
|
422
613
|
"length": 6,
|
|
614
|
+
"precision": null,
|
|
615
|
+
"scale": null,
|
|
616
|
+
"default": null,
|
|
617
|
+
"comment": null,
|
|
618
|
+
"enumItems": [],
|
|
423
619
|
"mappedType": "datetime"
|
|
424
620
|
},
|
|
425
621
|
"deleted_at": {
|
|
@@ -429,12 +625,16 @@
|
|
|
429
625
|
"autoincrement": false,
|
|
430
626
|
"primary": false,
|
|
431
627
|
"nullable": true,
|
|
628
|
+
"unique": false,
|
|
432
629
|
"length": 6,
|
|
630
|
+
"precision": null,
|
|
631
|
+
"scale": null,
|
|
632
|
+
"default": null,
|
|
633
|
+
"comment": null,
|
|
634
|
+
"enumItems": [],
|
|
433
635
|
"mappedType": "datetime"
|
|
434
636
|
}
|
|
435
637
|
},
|
|
436
|
-
"name": "users",
|
|
437
|
-
"schema": "public",
|
|
438
638
|
"indexes": [
|
|
439
639
|
{
|
|
440
640
|
"columnNames": [
|
|
@@ -472,15 +672,232 @@
|
|
|
472
672
|
"nativeEnums": {}
|
|
473
673
|
},
|
|
474
674
|
{
|
|
675
|
+
"name": "sidebar_variants",
|
|
676
|
+
"schema": "public",
|
|
475
677
|
"columns": {
|
|
476
678
|
"id": {
|
|
477
679
|
"name": "id",
|
|
478
680
|
"type": "uuid",
|
|
479
681
|
"unsigned": false,
|
|
480
682
|
"autoincrement": false,
|
|
683
|
+
"primary": true,
|
|
684
|
+
"nullable": false,
|
|
685
|
+
"unique": false,
|
|
686
|
+
"length": null,
|
|
687
|
+
"precision": null,
|
|
688
|
+
"scale": null,
|
|
689
|
+
"default": "gen_random_uuid()",
|
|
690
|
+
"comment": null,
|
|
691
|
+
"enumItems": [],
|
|
692
|
+
"mappedType": "uuid"
|
|
693
|
+
},
|
|
694
|
+
"user_id": {
|
|
695
|
+
"name": "user_id",
|
|
696
|
+
"type": "uuid",
|
|
697
|
+
"unsigned": false,
|
|
698
|
+
"autoincrement": false,
|
|
699
|
+
"primary": false,
|
|
700
|
+
"nullable": false,
|
|
701
|
+
"unique": false,
|
|
702
|
+
"length": null,
|
|
703
|
+
"precision": null,
|
|
704
|
+
"scale": null,
|
|
705
|
+
"default": null,
|
|
706
|
+
"comment": null,
|
|
707
|
+
"enumItems": [],
|
|
708
|
+
"mappedType": "uuid"
|
|
709
|
+
},
|
|
710
|
+
"tenant_id": {
|
|
711
|
+
"name": "tenant_id",
|
|
712
|
+
"type": "uuid",
|
|
713
|
+
"unsigned": false,
|
|
714
|
+
"autoincrement": false,
|
|
715
|
+
"primary": false,
|
|
716
|
+
"nullable": true,
|
|
717
|
+
"unique": false,
|
|
718
|
+
"length": null,
|
|
719
|
+
"precision": null,
|
|
720
|
+
"scale": null,
|
|
721
|
+
"default": null,
|
|
722
|
+
"comment": null,
|
|
723
|
+
"enumItems": [],
|
|
724
|
+
"mappedType": "uuid"
|
|
725
|
+
},
|
|
726
|
+
"organization_id": {
|
|
727
|
+
"name": "organization_id",
|
|
728
|
+
"type": "uuid",
|
|
729
|
+
"unsigned": false,
|
|
730
|
+
"autoincrement": false,
|
|
731
|
+
"primary": false,
|
|
732
|
+
"nullable": true,
|
|
733
|
+
"unique": false,
|
|
734
|
+
"length": null,
|
|
735
|
+
"precision": null,
|
|
736
|
+
"scale": null,
|
|
737
|
+
"default": null,
|
|
738
|
+
"comment": null,
|
|
739
|
+
"enumItems": [],
|
|
740
|
+
"mappedType": "uuid"
|
|
741
|
+
},
|
|
742
|
+
"locale": {
|
|
743
|
+
"name": "locale",
|
|
744
|
+
"type": "text",
|
|
745
|
+
"unsigned": false,
|
|
746
|
+
"autoincrement": false,
|
|
747
|
+
"primary": false,
|
|
748
|
+
"nullable": false,
|
|
749
|
+
"unique": false,
|
|
750
|
+
"length": null,
|
|
751
|
+
"precision": null,
|
|
752
|
+
"scale": null,
|
|
753
|
+
"default": null,
|
|
754
|
+
"comment": null,
|
|
755
|
+
"enumItems": [],
|
|
756
|
+
"mappedType": "text"
|
|
757
|
+
},
|
|
758
|
+
"name": {
|
|
759
|
+
"name": "name",
|
|
760
|
+
"type": "text",
|
|
761
|
+
"unsigned": false,
|
|
762
|
+
"autoincrement": false,
|
|
763
|
+
"primary": false,
|
|
764
|
+
"nullable": false,
|
|
765
|
+
"unique": false,
|
|
766
|
+
"length": null,
|
|
767
|
+
"precision": null,
|
|
768
|
+
"scale": null,
|
|
769
|
+
"default": null,
|
|
770
|
+
"comment": null,
|
|
771
|
+
"enumItems": [],
|
|
772
|
+
"mappedType": "text"
|
|
773
|
+
},
|
|
774
|
+
"settings_json": {
|
|
775
|
+
"name": "settings_json",
|
|
776
|
+
"type": "jsonb",
|
|
777
|
+
"unsigned": false,
|
|
778
|
+
"autoincrement": false,
|
|
779
|
+
"primary": false,
|
|
780
|
+
"nullable": true,
|
|
781
|
+
"unique": false,
|
|
782
|
+
"length": null,
|
|
783
|
+
"precision": null,
|
|
784
|
+
"scale": null,
|
|
785
|
+
"default": null,
|
|
786
|
+
"comment": null,
|
|
787
|
+
"enumItems": [],
|
|
788
|
+
"mappedType": "json"
|
|
789
|
+
},
|
|
790
|
+
"is_active": {
|
|
791
|
+
"name": "is_active",
|
|
792
|
+
"type": "boolean",
|
|
793
|
+
"unsigned": false,
|
|
794
|
+
"autoincrement": false,
|
|
795
|
+
"primary": false,
|
|
796
|
+
"nullable": false,
|
|
797
|
+
"unique": false,
|
|
798
|
+
"length": null,
|
|
799
|
+
"precision": null,
|
|
800
|
+
"scale": null,
|
|
801
|
+
"default": "false",
|
|
802
|
+
"comment": null,
|
|
803
|
+
"enumItems": [],
|
|
804
|
+
"mappedType": "boolean"
|
|
805
|
+
},
|
|
806
|
+
"created_at": {
|
|
807
|
+
"name": "created_at",
|
|
808
|
+
"type": "timestamptz",
|
|
809
|
+
"unsigned": false,
|
|
810
|
+
"autoincrement": false,
|
|
811
|
+
"primary": false,
|
|
812
|
+
"nullable": false,
|
|
813
|
+
"unique": false,
|
|
814
|
+
"length": 6,
|
|
815
|
+
"precision": null,
|
|
816
|
+
"scale": null,
|
|
817
|
+
"default": null,
|
|
818
|
+
"comment": null,
|
|
819
|
+
"enumItems": [],
|
|
820
|
+
"mappedType": "datetime"
|
|
821
|
+
},
|
|
822
|
+
"updated_at": {
|
|
823
|
+
"name": "updated_at",
|
|
824
|
+
"type": "timestamptz",
|
|
825
|
+
"unsigned": false,
|
|
826
|
+
"autoincrement": false,
|
|
481
827
|
"primary": false,
|
|
828
|
+
"nullable": true,
|
|
829
|
+
"unique": false,
|
|
830
|
+
"length": 6,
|
|
831
|
+
"precision": null,
|
|
832
|
+
"scale": null,
|
|
833
|
+
"default": null,
|
|
834
|
+
"comment": null,
|
|
835
|
+
"enumItems": [],
|
|
836
|
+
"mappedType": "datetime"
|
|
837
|
+
},
|
|
838
|
+
"deleted_at": {
|
|
839
|
+
"name": "deleted_at",
|
|
840
|
+
"type": "timestamptz",
|
|
841
|
+
"unsigned": false,
|
|
842
|
+
"autoincrement": false,
|
|
843
|
+
"primary": false,
|
|
844
|
+
"nullable": true,
|
|
845
|
+
"unique": false,
|
|
846
|
+
"length": 6,
|
|
847
|
+
"precision": null,
|
|
848
|
+
"scale": null,
|
|
849
|
+
"default": null,
|
|
850
|
+
"comment": null,
|
|
851
|
+
"enumItems": [],
|
|
852
|
+
"mappedType": "datetime"
|
|
853
|
+
}
|
|
854
|
+
},
|
|
855
|
+
"indexes": [
|
|
856
|
+
{
|
|
857
|
+
"keyName": "sidebar_variants_pkey",
|
|
858
|
+
"columnNames": [
|
|
859
|
+
"id"
|
|
860
|
+
],
|
|
861
|
+
"composite": false,
|
|
862
|
+
"constraint": true,
|
|
863
|
+
"primary": true,
|
|
864
|
+
"unique": true
|
|
865
|
+
}
|
|
866
|
+
],
|
|
867
|
+
"checks": [],
|
|
868
|
+
"foreignKeys": {
|
|
869
|
+
"sidebar_variants_user_id_foreign": {
|
|
870
|
+
"constraintName": "sidebar_variants_user_id_foreign",
|
|
871
|
+
"columnNames": [
|
|
872
|
+
"user_id"
|
|
873
|
+
],
|
|
874
|
+
"localTableName": "public.sidebar_variants",
|
|
875
|
+
"referencedColumnNames": [
|
|
876
|
+
"id"
|
|
877
|
+
],
|
|
878
|
+
"referencedTableName": "public.users"
|
|
879
|
+
}
|
|
880
|
+
},
|
|
881
|
+
"nativeEnums": {}
|
|
882
|
+
},
|
|
883
|
+
{
|
|
884
|
+
"name": "sessions",
|
|
885
|
+
"schema": "public",
|
|
886
|
+
"columns": {
|
|
887
|
+
"id": {
|
|
888
|
+
"name": "id",
|
|
889
|
+
"type": "uuid",
|
|
890
|
+
"unsigned": false,
|
|
891
|
+
"autoincrement": false,
|
|
892
|
+
"primary": true,
|
|
482
893
|
"nullable": false,
|
|
894
|
+
"unique": false,
|
|
895
|
+
"length": null,
|
|
896
|
+
"precision": null,
|
|
897
|
+
"scale": null,
|
|
483
898
|
"default": "gen_random_uuid()",
|
|
899
|
+
"comment": null,
|
|
900
|
+
"enumItems": [],
|
|
484
901
|
"mappedType": "uuid"
|
|
485
902
|
},
|
|
486
903
|
"user_id": {
|
|
@@ -490,6 +907,13 @@
|
|
|
490
907
|
"autoincrement": false,
|
|
491
908
|
"primary": false,
|
|
492
909
|
"nullable": false,
|
|
910
|
+
"unique": false,
|
|
911
|
+
"length": null,
|
|
912
|
+
"precision": null,
|
|
913
|
+
"scale": null,
|
|
914
|
+
"default": null,
|
|
915
|
+
"comment": null,
|
|
916
|
+
"enumItems": [],
|
|
493
917
|
"mappedType": "uuid"
|
|
494
918
|
},
|
|
495
919
|
"token": {
|
|
@@ -499,6 +923,13 @@
|
|
|
499
923
|
"autoincrement": false,
|
|
500
924
|
"primary": false,
|
|
501
925
|
"nullable": false,
|
|
926
|
+
"unique": false,
|
|
927
|
+
"length": null,
|
|
928
|
+
"precision": null,
|
|
929
|
+
"scale": null,
|
|
930
|
+
"default": null,
|
|
931
|
+
"comment": null,
|
|
932
|
+
"enumItems": [],
|
|
502
933
|
"mappedType": "text"
|
|
503
934
|
},
|
|
504
935
|
"expires_at": {
|
|
@@ -508,7 +939,13 @@
|
|
|
508
939
|
"autoincrement": false,
|
|
509
940
|
"primary": false,
|
|
510
941
|
"nullable": false,
|
|
942
|
+
"unique": false,
|
|
511
943
|
"length": 6,
|
|
944
|
+
"precision": null,
|
|
945
|
+
"scale": null,
|
|
946
|
+
"default": null,
|
|
947
|
+
"comment": null,
|
|
948
|
+
"enumItems": [],
|
|
512
949
|
"mappedType": "datetime"
|
|
513
950
|
},
|
|
514
951
|
"created_at": {
|
|
@@ -518,7 +955,13 @@
|
|
|
518
955
|
"autoincrement": false,
|
|
519
956
|
"primary": false,
|
|
520
957
|
"nullable": false,
|
|
958
|
+
"unique": false,
|
|
521
959
|
"length": 6,
|
|
960
|
+
"precision": null,
|
|
961
|
+
"scale": null,
|
|
962
|
+
"default": null,
|
|
963
|
+
"comment": null,
|
|
964
|
+
"enumItems": [],
|
|
522
965
|
"mappedType": "datetime"
|
|
523
966
|
},
|
|
524
967
|
"last_used_at": {
|
|
@@ -528,7 +971,13 @@
|
|
|
528
971
|
"autoincrement": false,
|
|
529
972
|
"primary": false,
|
|
530
973
|
"nullable": true,
|
|
974
|
+
"unique": false,
|
|
531
975
|
"length": 6,
|
|
976
|
+
"precision": null,
|
|
977
|
+
"scale": null,
|
|
978
|
+
"default": null,
|
|
979
|
+
"comment": null,
|
|
980
|
+
"enumItems": [],
|
|
532
981
|
"mappedType": "datetime"
|
|
533
982
|
},
|
|
534
983
|
"deleted_at": {
|
|
@@ -538,12 +987,16 @@
|
|
|
538
987
|
"autoincrement": false,
|
|
539
988
|
"primary": false,
|
|
540
989
|
"nullable": true,
|
|
990
|
+
"unique": false,
|
|
541
991
|
"length": 6,
|
|
992
|
+
"precision": null,
|
|
993
|
+
"scale": null,
|
|
994
|
+
"default": null,
|
|
995
|
+
"comment": null,
|
|
996
|
+
"enumItems": [],
|
|
542
997
|
"mappedType": "datetime"
|
|
543
998
|
}
|
|
544
999
|
},
|
|
545
|
-
"name": "sessions",
|
|
546
|
-
"schema": "public",
|
|
547
1000
|
"indexes": [
|
|
548
1001
|
{
|
|
549
1002
|
"columnNames": [
|
|
@@ -577,22 +1030,29 @@
|
|
|
577
1030
|
"referencedColumnNames": [
|
|
578
1031
|
"id"
|
|
579
1032
|
],
|
|
580
|
-
"referencedTableName": "public.users"
|
|
581
|
-
"updateRule": "cascade"
|
|
1033
|
+
"referencedTableName": "public.users"
|
|
582
1034
|
}
|
|
583
1035
|
},
|
|
584
1036
|
"nativeEnums": {}
|
|
585
1037
|
},
|
|
586
1038
|
{
|
|
1039
|
+
"name": "password_resets",
|
|
1040
|
+
"schema": "public",
|
|
587
1041
|
"columns": {
|
|
588
1042
|
"id": {
|
|
589
1043
|
"name": "id",
|
|
590
1044
|
"type": "uuid",
|
|
591
1045
|
"unsigned": false,
|
|
592
1046
|
"autoincrement": false,
|
|
593
|
-
"primary":
|
|
1047
|
+
"primary": true,
|
|
594
1048
|
"nullable": false,
|
|
1049
|
+
"unique": false,
|
|
1050
|
+
"length": null,
|
|
1051
|
+
"precision": null,
|
|
1052
|
+
"scale": null,
|
|
595
1053
|
"default": "gen_random_uuid()",
|
|
1054
|
+
"comment": null,
|
|
1055
|
+
"enumItems": [],
|
|
596
1056
|
"mappedType": "uuid"
|
|
597
1057
|
},
|
|
598
1058
|
"user_id": {
|
|
@@ -602,6 +1062,13 @@
|
|
|
602
1062
|
"autoincrement": false,
|
|
603
1063
|
"primary": false,
|
|
604
1064
|
"nullable": false,
|
|
1065
|
+
"unique": false,
|
|
1066
|
+
"length": null,
|
|
1067
|
+
"precision": null,
|
|
1068
|
+
"scale": null,
|
|
1069
|
+
"default": null,
|
|
1070
|
+
"comment": null,
|
|
1071
|
+
"enumItems": [],
|
|
605
1072
|
"mappedType": "uuid"
|
|
606
1073
|
},
|
|
607
1074
|
"token": {
|
|
@@ -611,6 +1078,13 @@
|
|
|
611
1078
|
"autoincrement": false,
|
|
612
1079
|
"primary": false,
|
|
613
1080
|
"nullable": false,
|
|
1081
|
+
"unique": false,
|
|
1082
|
+
"length": null,
|
|
1083
|
+
"precision": null,
|
|
1084
|
+
"scale": null,
|
|
1085
|
+
"default": null,
|
|
1086
|
+
"comment": null,
|
|
1087
|
+
"enumItems": [],
|
|
614
1088
|
"mappedType": "text"
|
|
615
1089
|
},
|
|
616
1090
|
"expires_at": {
|
|
@@ -620,7 +1094,13 @@
|
|
|
620
1094
|
"autoincrement": false,
|
|
621
1095
|
"primary": false,
|
|
622
1096
|
"nullable": false,
|
|
1097
|
+
"unique": false,
|
|
623
1098
|
"length": 6,
|
|
1099
|
+
"precision": null,
|
|
1100
|
+
"scale": null,
|
|
1101
|
+
"default": null,
|
|
1102
|
+
"comment": null,
|
|
1103
|
+
"enumItems": [],
|
|
624
1104
|
"mappedType": "datetime"
|
|
625
1105
|
},
|
|
626
1106
|
"used_at": {
|
|
@@ -630,7 +1110,13 @@
|
|
|
630
1110
|
"autoincrement": false,
|
|
631
1111
|
"primary": false,
|
|
632
1112
|
"nullable": true,
|
|
1113
|
+
"unique": false,
|
|
633
1114
|
"length": 6,
|
|
1115
|
+
"precision": null,
|
|
1116
|
+
"scale": null,
|
|
1117
|
+
"default": null,
|
|
1118
|
+
"comment": null,
|
|
1119
|
+
"enumItems": [],
|
|
634
1120
|
"mappedType": "datetime"
|
|
635
1121
|
},
|
|
636
1122
|
"created_at": {
|
|
@@ -640,7 +1126,13 @@
|
|
|
640
1126
|
"autoincrement": false,
|
|
641
1127
|
"primary": false,
|
|
642
1128
|
"nullable": false,
|
|
1129
|
+
"unique": false,
|
|
643
1130
|
"length": 6,
|
|
1131
|
+
"precision": null,
|
|
1132
|
+
"scale": null,
|
|
1133
|
+
"default": null,
|
|
1134
|
+
"comment": null,
|
|
1135
|
+
"enumItems": [],
|
|
644
1136
|
"mappedType": "datetime"
|
|
645
1137
|
},
|
|
646
1138
|
"deleted_at": {
|
|
@@ -650,12 +1142,16 @@
|
|
|
650
1142
|
"autoincrement": false,
|
|
651
1143
|
"primary": false,
|
|
652
1144
|
"nullable": true,
|
|
1145
|
+
"unique": false,
|
|
653
1146
|
"length": 6,
|
|
1147
|
+
"precision": null,
|
|
1148
|
+
"scale": null,
|
|
1149
|
+
"default": null,
|
|
1150
|
+
"comment": null,
|
|
1151
|
+
"enumItems": [],
|
|
654
1152
|
"mappedType": "datetime"
|
|
655
1153
|
}
|
|
656
1154
|
},
|
|
657
|
-
"name": "password_resets",
|
|
658
|
-
"schema": "public",
|
|
659
1155
|
"indexes": [
|
|
660
1156
|
{
|
|
661
1157
|
"columnNames": [
|
|
@@ -689,22 +1185,29 @@
|
|
|
689
1185
|
"referencedColumnNames": [
|
|
690
1186
|
"id"
|
|
691
1187
|
],
|
|
692
|
-
"referencedTableName": "public.users"
|
|
693
|
-
"updateRule": "cascade"
|
|
1188
|
+
"referencedTableName": "public.users"
|
|
694
1189
|
}
|
|
695
1190
|
},
|
|
696
1191
|
"nativeEnums": {}
|
|
697
1192
|
},
|
|
698
1193
|
{
|
|
1194
|
+
"name": "user_acls",
|
|
1195
|
+
"schema": "public",
|
|
699
1196
|
"columns": {
|
|
700
1197
|
"id": {
|
|
701
1198
|
"name": "id",
|
|
702
1199
|
"type": "uuid",
|
|
703
1200
|
"unsigned": false,
|
|
704
1201
|
"autoincrement": false,
|
|
705
|
-
"primary":
|
|
1202
|
+
"primary": true,
|
|
706
1203
|
"nullable": false,
|
|
1204
|
+
"unique": false,
|
|
1205
|
+
"length": null,
|
|
1206
|
+
"precision": null,
|
|
1207
|
+
"scale": null,
|
|
707
1208
|
"default": "gen_random_uuid()",
|
|
1209
|
+
"comment": null,
|
|
1210
|
+
"enumItems": [],
|
|
708
1211
|
"mappedType": "uuid"
|
|
709
1212
|
},
|
|
710
1213
|
"user_id": {
|
|
@@ -714,6 +1217,13 @@
|
|
|
714
1217
|
"autoincrement": false,
|
|
715
1218
|
"primary": false,
|
|
716
1219
|
"nullable": false,
|
|
1220
|
+
"unique": false,
|
|
1221
|
+
"length": null,
|
|
1222
|
+
"precision": null,
|
|
1223
|
+
"scale": null,
|
|
1224
|
+
"default": null,
|
|
1225
|
+
"comment": null,
|
|
1226
|
+
"enumItems": [],
|
|
717
1227
|
"mappedType": "uuid"
|
|
718
1228
|
},
|
|
719
1229
|
"tenant_id": {
|
|
@@ -723,6 +1233,13 @@
|
|
|
723
1233
|
"autoincrement": false,
|
|
724
1234
|
"primary": false,
|
|
725
1235
|
"nullable": false,
|
|
1236
|
+
"unique": false,
|
|
1237
|
+
"length": null,
|
|
1238
|
+
"precision": null,
|
|
1239
|
+
"scale": null,
|
|
1240
|
+
"default": null,
|
|
1241
|
+
"comment": null,
|
|
1242
|
+
"enumItems": [],
|
|
726
1243
|
"mappedType": "uuid"
|
|
727
1244
|
},
|
|
728
1245
|
"features_json": {
|
|
@@ -732,6 +1249,13 @@
|
|
|
732
1249
|
"autoincrement": false,
|
|
733
1250
|
"primary": false,
|
|
734
1251
|
"nullable": true,
|
|
1252
|
+
"unique": false,
|
|
1253
|
+
"length": null,
|
|
1254
|
+
"precision": null,
|
|
1255
|
+
"scale": null,
|
|
1256
|
+
"default": null,
|
|
1257
|
+
"comment": null,
|
|
1258
|
+
"enumItems": [],
|
|
735
1259
|
"mappedType": "json"
|
|
736
1260
|
},
|
|
737
1261
|
"is_super_admin": {
|
|
@@ -741,7 +1265,13 @@
|
|
|
741
1265
|
"autoincrement": false,
|
|
742
1266
|
"primary": false,
|
|
743
1267
|
"nullable": false,
|
|
1268
|
+
"unique": false,
|
|
1269
|
+
"length": null,
|
|
1270
|
+
"precision": null,
|
|
1271
|
+
"scale": null,
|
|
744
1272
|
"default": "false",
|
|
1273
|
+
"comment": null,
|
|
1274
|
+
"enumItems": [],
|
|
745
1275
|
"mappedType": "boolean"
|
|
746
1276
|
},
|
|
747
1277
|
"organizations_json": {
|
|
@@ -751,6 +1281,13 @@
|
|
|
751
1281
|
"autoincrement": false,
|
|
752
1282
|
"primary": false,
|
|
753
1283
|
"nullable": true,
|
|
1284
|
+
"unique": false,
|
|
1285
|
+
"length": null,
|
|
1286
|
+
"precision": null,
|
|
1287
|
+
"scale": null,
|
|
1288
|
+
"default": null,
|
|
1289
|
+
"comment": null,
|
|
1290
|
+
"enumItems": [],
|
|
754
1291
|
"mappedType": "json"
|
|
755
1292
|
},
|
|
756
1293
|
"created_at": {
|
|
@@ -760,7 +1297,13 @@
|
|
|
760
1297
|
"autoincrement": false,
|
|
761
1298
|
"primary": false,
|
|
762
1299
|
"nullable": false,
|
|
1300
|
+
"unique": false,
|
|
763
1301
|
"length": 6,
|
|
1302
|
+
"precision": null,
|
|
1303
|
+
"scale": null,
|
|
1304
|
+
"default": null,
|
|
1305
|
+
"comment": null,
|
|
1306
|
+
"enumItems": [],
|
|
764
1307
|
"mappedType": "datetime"
|
|
765
1308
|
},
|
|
766
1309
|
"updated_at": {
|
|
@@ -770,7 +1313,13 @@
|
|
|
770
1313
|
"autoincrement": false,
|
|
771
1314
|
"primary": false,
|
|
772
1315
|
"nullable": true,
|
|
1316
|
+
"unique": false,
|
|
773
1317
|
"length": 6,
|
|
1318
|
+
"precision": null,
|
|
1319
|
+
"scale": null,
|
|
1320
|
+
"default": null,
|
|
1321
|
+
"comment": null,
|
|
1322
|
+
"enumItems": [],
|
|
774
1323
|
"mappedType": "datetime"
|
|
775
1324
|
},
|
|
776
1325
|
"deleted_at": {
|
|
@@ -780,12 +1329,16 @@
|
|
|
780
1329
|
"autoincrement": false,
|
|
781
1330
|
"primary": false,
|
|
782
1331
|
"nullable": true,
|
|
1332
|
+
"unique": false,
|
|
783
1333
|
"length": 6,
|
|
1334
|
+
"precision": null,
|
|
1335
|
+
"scale": null,
|
|
1336
|
+
"default": null,
|
|
1337
|
+
"comment": null,
|
|
1338
|
+
"enumItems": [],
|
|
784
1339
|
"mappedType": "datetime"
|
|
785
1340
|
}
|
|
786
1341
|
},
|
|
787
|
-
"name": "user_acls",
|
|
788
|
-
"schema": "public",
|
|
789
1342
|
"indexes": [
|
|
790
1343
|
{
|
|
791
1344
|
"keyName": "user_acls_pkey",
|
|
@@ -809,22 +1362,29 @@
|
|
|
809
1362
|
"referencedColumnNames": [
|
|
810
1363
|
"id"
|
|
811
1364
|
],
|
|
812
|
-
"referencedTableName": "public.users"
|
|
813
|
-
"updateRule": "cascade"
|
|
1365
|
+
"referencedTableName": "public.users"
|
|
814
1366
|
}
|
|
815
1367
|
},
|
|
816
1368
|
"nativeEnums": {}
|
|
817
1369
|
},
|
|
818
1370
|
{
|
|
1371
|
+
"name": "user_consents",
|
|
1372
|
+
"schema": "public",
|
|
819
1373
|
"columns": {
|
|
820
1374
|
"id": {
|
|
821
1375
|
"name": "id",
|
|
822
1376
|
"type": "uuid",
|
|
823
1377
|
"unsigned": false,
|
|
824
1378
|
"autoincrement": false,
|
|
825
|
-
"primary":
|
|
1379
|
+
"primary": true,
|
|
826
1380
|
"nullable": false,
|
|
1381
|
+
"unique": false,
|
|
1382
|
+
"length": null,
|
|
1383
|
+
"precision": null,
|
|
1384
|
+
"scale": null,
|
|
827
1385
|
"default": "gen_random_uuid()",
|
|
1386
|
+
"comment": null,
|
|
1387
|
+
"enumItems": [],
|
|
828
1388
|
"mappedType": "uuid"
|
|
829
1389
|
},
|
|
830
1390
|
"user_id": {
|
|
@@ -834,6 +1394,13 @@
|
|
|
834
1394
|
"autoincrement": false,
|
|
835
1395
|
"primary": false,
|
|
836
1396
|
"nullable": false,
|
|
1397
|
+
"unique": false,
|
|
1398
|
+
"length": null,
|
|
1399
|
+
"precision": null,
|
|
1400
|
+
"scale": null,
|
|
1401
|
+
"default": null,
|
|
1402
|
+
"comment": null,
|
|
1403
|
+
"enumItems": [],
|
|
837
1404
|
"mappedType": "uuid"
|
|
838
1405
|
},
|
|
839
1406
|
"tenant_id": {
|
|
@@ -843,6 +1410,13 @@
|
|
|
843
1410
|
"autoincrement": false,
|
|
844
1411
|
"primary": false,
|
|
845
1412
|
"nullable": true,
|
|
1413
|
+
"unique": false,
|
|
1414
|
+
"length": null,
|
|
1415
|
+
"precision": null,
|
|
1416
|
+
"scale": null,
|
|
1417
|
+
"default": null,
|
|
1418
|
+
"comment": null,
|
|
1419
|
+
"enumItems": [],
|
|
846
1420
|
"mappedType": "uuid"
|
|
847
1421
|
},
|
|
848
1422
|
"organization_id": {
|
|
@@ -852,6 +1426,13 @@
|
|
|
852
1426
|
"autoincrement": false,
|
|
853
1427
|
"primary": false,
|
|
854
1428
|
"nullable": true,
|
|
1429
|
+
"unique": false,
|
|
1430
|
+
"length": null,
|
|
1431
|
+
"precision": null,
|
|
1432
|
+
"scale": null,
|
|
1433
|
+
"default": null,
|
|
1434
|
+
"comment": null,
|
|
1435
|
+
"enumItems": [],
|
|
855
1436
|
"mappedType": "uuid"
|
|
856
1437
|
},
|
|
857
1438
|
"consent_type": {
|
|
@@ -861,6 +1442,13 @@
|
|
|
861
1442
|
"autoincrement": false,
|
|
862
1443
|
"primary": false,
|
|
863
1444
|
"nullable": false,
|
|
1445
|
+
"unique": false,
|
|
1446
|
+
"length": null,
|
|
1447
|
+
"precision": null,
|
|
1448
|
+
"scale": null,
|
|
1449
|
+
"default": null,
|
|
1450
|
+
"comment": null,
|
|
1451
|
+
"enumItems": [],
|
|
864
1452
|
"mappedType": "text"
|
|
865
1453
|
},
|
|
866
1454
|
"is_granted": {
|
|
@@ -870,7 +1458,13 @@
|
|
|
870
1458
|
"autoincrement": false,
|
|
871
1459
|
"primary": false,
|
|
872
1460
|
"nullable": false,
|
|
1461
|
+
"unique": false,
|
|
1462
|
+
"length": null,
|
|
1463
|
+
"precision": null,
|
|
1464
|
+
"scale": null,
|
|
873
1465
|
"default": "false",
|
|
1466
|
+
"comment": null,
|
|
1467
|
+
"enumItems": [],
|
|
874
1468
|
"mappedType": "boolean"
|
|
875
1469
|
},
|
|
876
1470
|
"granted_at": {
|
|
@@ -880,7 +1474,13 @@
|
|
|
880
1474
|
"autoincrement": false,
|
|
881
1475
|
"primary": false,
|
|
882
1476
|
"nullable": true,
|
|
1477
|
+
"unique": false,
|
|
883
1478
|
"length": 6,
|
|
1479
|
+
"precision": null,
|
|
1480
|
+
"scale": null,
|
|
1481
|
+
"default": null,
|
|
1482
|
+
"comment": null,
|
|
1483
|
+
"enumItems": [],
|
|
884
1484
|
"mappedType": "datetime"
|
|
885
1485
|
},
|
|
886
1486
|
"withdrawn_at": {
|
|
@@ -890,7 +1490,13 @@
|
|
|
890
1490
|
"autoincrement": false,
|
|
891
1491
|
"primary": false,
|
|
892
1492
|
"nullable": true,
|
|
1493
|
+
"unique": false,
|
|
893
1494
|
"length": 6,
|
|
1495
|
+
"precision": null,
|
|
1496
|
+
"scale": null,
|
|
1497
|
+
"default": null,
|
|
1498
|
+
"comment": null,
|
|
1499
|
+
"enumItems": [],
|
|
894
1500
|
"mappedType": "datetime"
|
|
895
1501
|
},
|
|
896
1502
|
"source": {
|
|
@@ -900,6 +1506,13 @@
|
|
|
900
1506
|
"autoincrement": false,
|
|
901
1507
|
"primary": false,
|
|
902
1508
|
"nullable": true,
|
|
1509
|
+
"unique": false,
|
|
1510
|
+
"length": null,
|
|
1511
|
+
"precision": null,
|
|
1512
|
+
"scale": null,
|
|
1513
|
+
"default": null,
|
|
1514
|
+
"comment": null,
|
|
1515
|
+
"enumItems": [],
|
|
903
1516
|
"mappedType": "text"
|
|
904
1517
|
},
|
|
905
1518
|
"ip_address": {
|
|
@@ -909,6 +1522,13 @@
|
|
|
909
1522
|
"autoincrement": false,
|
|
910
1523
|
"primary": false,
|
|
911
1524
|
"nullable": true,
|
|
1525
|
+
"unique": false,
|
|
1526
|
+
"length": null,
|
|
1527
|
+
"precision": null,
|
|
1528
|
+
"scale": null,
|
|
1529
|
+
"default": null,
|
|
1530
|
+
"comment": null,
|
|
1531
|
+
"enumItems": [],
|
|
912
1532
|
"mappedType": "text"
|
|
913
1533
|
},
|
|
914
1534
|
"integrity_hash": {
|
|
@@ -918,6 +1538,13 @@
|
|
|
918
1538
|
"autoincrement": false,
|
|
919
1539
|
"primary": false,
|
|
920
1540
|
"nullable": true,
|
|
1541
|
+
"unique": false,
|
|
1542
|
+
"length": null,
|
|
1543
|
+
"precision": null,
|
|
1544
|
+
"scale": null,
|
|
1545
|
+
"default": null,
|
|
1546
|
+
"comment": null,
|
|
1547
|
+
"enumItems": [],
|
|
921
1548
|
"mappedType": "text"
|
|
922
1549
|
},
|
|
923
1550
|
"created_at": {
|
|
@@ -927,7 +1554,13 @@
|
|
|
927
1554
|
"autoincrement": false,
|
|
928
1555
|
"primary": false,
|
|
929
1556
|
"nullable": false,
|
|
1557
|
+
"unique": false,
|
|
930
1558
|
"length": 6,
|
|
1559
|
+
"precision": null,
|
|
1560
|
+
"scale": null,
|
|
1561
|
+
"default": null,
|
|
1562
|
+
"comment": null,
|
|
1563
|
+
"enumItems": [],
|
|
931
1564
|
"mappedType": "datetime"
|
|
932
1565
|
},
|
|
933
1566
|
"updated_at": {
|
|
@@ -937,7 +1570,13 @@
|
|
|
937
1570
|
"autoincrement": false,
|
|
938
1571
|
"primary": false,
|
|
939
1572
|
"nullable": true,
|
|
1573
|
+
"unique": false,
|
|
940
1574
|
"length": 6,
|
|
1575
|
+
"precision": null,
|
|
1576
|
+
"scale": null,
|
|
1577
|
+
"default": null,
|
|
1578
|
+
"comment": null,
|
|
1579
|
+
"enumItems": [],
|
|
941
1580
|
"mappedType": "datetime"
|
|
942
1581
|
},
|
|
943
1582
|
"deleted_at": {
|
|
@@ -947,12 +1586,16 @@
|
|
|
947
1586
|
"autoincrement": false,
|
|
948
1587
|
"primary": false,
|
|
949
1588
|
"nullable": true,
|
|
1589
|
+
"unique": false,
|
|
950
1590
|
"length": 6,
|
|
1591
|
+
"precision": null,
|
|
1592
|
+
"scale": null,
|
|
1593
|
+
"default": null,
|
|
1594
|
+
"comment": null,
|
|
1595
|
+
"enumItems": [],
|
|
951
1596
|
"mappedType": "datetime"
|
|
952
1597
|
}
|
|
953
1598
|
},
|
|
954
|
-
"name": "user_consents",
|
|
955
|
-
"schema": "public",
|
|
956
1599
|
"indexes": [
|
|
957
1600
|
{
|
|
958
1601
|
"keyName": "user_consents_user_id_tenant_id_consent_type_unique",
|
|
@@ -982,15 +1625,23 @@
|
|
|
982
1625
|
"nativeEnums": {}
|
|
983
1626
|
},
|
|
984
1627
|
{
|
|
1628
|
+
"name": "user_roles",
|
|
1629
|
+
"schema": "public",
|
|
985
1630
|
"columns": {
|
|
986
1631
|
"id": {
|
|
987
1632
|
"name": "id",
|
|
988
1633
|
"type": "uuid",
|
|
989
1634
|
"unsigned": false,
|
|
990
1635
|
"autoincrement": false,
|
|
991
|
-
"primary":
|
|
1636
|
+
"primary": true,
|
|
992
1637
|
"nullable": false,
|
|
1638
|
+
"unique": false,
|
|
1639
|
+
"length": null,
|
|
1640
|
+
"precision": null,
|
|
1641
|
+
"scale": null,
|
|
993
1642
|
"default": "gen_random_uuid()",
|
|
1643
|
+
"comment": null,
|
|
1644
|
+
"enumItems": [],
|
|
994
1645
|
"mappedType": "uuid"
|
|
995
1646
|
},
|
|
996
1647
|
"user_id": {
|
|
@@ -1000,6 +1651,13 @@
|
|
|
1000
1651
|
"autoincrement": false,
|
|
1001
1652
|
"primary": false,
|
|
1002
1653
|
"nullable": false,
|
|
1654
|
+
"unique": false,
|
|
1655
|
+
"length": null,
|
|
1656
|
+
"precision": null,
|
|
1657
|
+
"scale": null,
|
|
1658
|
+
"default": null,
|
|
1659
|
+
"comment": null,
|
|
1660
|
+
"enumItems": [],
|
|
1003
1661
|
"mappedType": "uuid"
|
|
1004
1662
|
},
|
|
1005
1663
|
"role_id": {
|
|
@@ -1009,6 +1667,13 @@
|
|
|
1009
1667
|
"autoincrement": false,
|
|
1010
1668
|
"primary": false,
|
|
1011
1669
|
"nullable": false,
|
|
1670
|
+
"unique": false,
|
|
1671
|
+
"length": null,
|
|
1672
|
+
"precision": null,
|
|
1673
|
+
"scale": null,
|
|
1674
|
+
"default": null,
|
|
1675
|
+
"comment": null,
|
|
1676
|
+
"enumItems": [],
|
|
1012
1677
|
"mappedType": "uuid"
|
|
1013
1678
|
},
|
|
1014
1679
|
"created_at": {
|
|
@@ -1018,7 +1683,13 @@
|
|
|
1018
1683
|
"autoincrement": false,
|
|
1019
1684
|
"primary": false,
|
|
1020
1685
|
"nullable": false,
|
|
1686
|
+
"unique": false,
|
|
1021
1687
|
"length": 6,
|
|
1688
|
+
"precision": null,
|
|
1689
|
+
"scale": null,
|
|
1690
|
+
"default": null,
|
|
1691
|
+
"comment": null,
|
|
1692
|
+
"enumItems": [],
|
|
1022
1693
|
"mappedType": "datetime"
|
|
1023
1694
|
},
|
|
1024
1695
|
"deleted_at": {
|
|
@@ -1028,12 +1699,16 @@
|
|
|
1028
1699
|
"autoincrement": false,
|
|
1029
1700
|
"primary": false,
|
|
1030
1701
|
"nullable": true,
|
|
1702
|
+
"unique": false,
|
|
1031
1703
|
"length": 6,
|
|
1704
|
+
"precision": null,
|
|
1705
|
+
"scale": null,
|
|
1706
|
+
"default": null,
|
|
1707
|
+
"comment": null,
|
|
1708
|
+
"enumItems": [],
|
|
1032
1709
|
"mappedType": "datetime"
|
|
1033
1710
|
}
|
|
1034
1711
|
},
|
|
1035
|
-
"name": "user_roles",
|
|
1036
|
-
"schema": "public",
|
|
1037
1712
|
"indexes": [
|
|
1038
1713
|
{
|
|
1039
1714
|
"keyName": "user_roles_pkey",
|
|
@@ -1057,8 +1732,7 @@
|
|
|
1057
1732
|
"referencedColumnNames": [
|
|
1058
1733
|
"id"
|
|
1059
1734
|
],
|
|
1060
|
-
"referencedTableName": "public.users"
|
|
1061
|
-
"updateRule": "cascade"
|
|
1735
|
+
"referencedTableName": "public.users"
|
|
1062
1736
|
},
|
|
1063
1737
|
"user_roles_role_id_foreign": {
|
|
1064
1738
|
"constraintName": "user_roles_role_id_foreign",
|
|
@@ -1069,22 +1743,29 @@
|
|
|
1069
1743
|
"referencedColumnNames": [
|
|
1070
1744
|
"id"
|
|
1071
1745
|
],
|
|
1072
|
-
"referencedTableName": "public.roles"
|
|
1073
|
-
"updateRule": "cascade"
|
|
1746
|
+
"referencedTableName": "public.roles"
|
|
1074
1747
|
}
|
|
1075
1748
|
},
|
|
1076
1749
|
"nativeEnums": {}
|
|
1077
1750
|
},
|
|
1078
1751
|
{
|
|
1752
|
+
"name": "user_sidebar_preferences",
|
|
1753
|
+
"schema": "public",
|
|
1079
1754
|
"columns": {
|
|
1080
1755
|
"id": {
|
|
1081
1756
|
"name": "id",
|
|
1082
1757
|
"type": "uuid",
|
|
1083
1758
|
"unsigned": false,
|
|
1084
1759
|
"autoincrement": false,
|
|
1085
|
-
"primary":
|
|
1760
|
+
"primary": true,
|
|
1086
1761
|
"nullable": false,
|
|
1762
|
+
"unique": false,
|
|
1763
|
+
"length": null,
|
|
1764
|
+
"precision": null,
|
|
1765
|
+
"scale": null,
|
|
1087
1766
|
"default": "gen_random_uuid()",
|
|
1767
|
+
"comment": null,
|
|
1768
|
+
"enumItems": [],
|
|
1088
1769
|
"mappedType": "uuid"
|
|
1089
1770
|
},
|
|
1090
1771
|
"user_id": {
|
|
@@ -1094,6 +1775,13 @@
|
|
|
1094
1775
|
"autoincrement": false,
|
|
1095
1776
|
"primary": false,
|
|
1096
1777
|
"nullable": false,
|
|
1778
|
+
"unique": false,
|
|
1779
|
+
"length": null,
|
|
1780
|
+
"precision": null,
|
|
1781
|
+
"scale": null,
|
|
1782
|
+
"default": null,
|
|
1783
|
+
"comment": null,
|
|
1784
|
+
"enumItems": [],
|
|
1097
1785
|
"mappedType": "uuid"
|
|
1098
1786
|
},
|
|
1099
1787
|
"tenant_id": {
|
|
@@ -1103,6 +1791,13 @@
|
|
|
1103
1791
|
"autoincrement": false,
|
|
1104
1792
|
"primary": false,
|
|
1105
1793
|
"nullable": true,
|
|
1794
|
+
"unique": false,
|
|
1795
|
+
"length": null,
|
|
1796
|
+
"precision": null,
|
|
1797
|
+
"scale": null,
|
|
1798
|
+
"default": null,
|
|
1799
|
+
"comment": null,
|
|
1800
|
+
"enumItems": [],
|
|
1106
1801
|
"mappedType": "uuid"
|
|
1107
1802
|
},
|
|
1108
1803
|
"organization_id": {
|
|
@@ -1112,6 +1807,13 @@
|
|
|
1112
1807
|
"autoincrement": false,
|
|
1113
1808
|
"primary": false,
|
|
1114
1809
|
"nullable": true,
|
|
1810
|
+
"unique": false,
|
|
1811
|
+
"length": null,
|
|
1812
|
+
"precision": null,
|
|
1813
|
+
"scale": null,
|
|
1814
|
+
"default": null,
|
|
1815
|
+
"comment": null,
|
|
1816
|
+
"enumItems": [],
|
|
1115
1817
|
"mappedType": "uuid"
|
|
1116
1818
|
},
|
|
1117
1819
|
"locale": {
|
|
@@ -1121,6 +1823,13 @@
|
|
|
1121
1823
|
"autoincrement": false,
|
|
1122
1824
|
"primary": false,
|
|
1123
1825
|
"nullable": false,
|
|
1826
|
+
"unique": false,
|
|
1827
|
+
"length": null,
|
|
1828
|
+
"precision": null,
|
|
1829
|
+
"scale": null,
|
|
1830
|
+
"default": null,
|
|
1831
|
+
"comment": null,
|
|
1832
|
+
"enumItems": [],
|
|
1124
1833
|
"mappedType": "text"
|
|
1125
1834
|
},
|
|
1126
1835
|
"settings_json": {
|
|
@@ -1130,6 +1839,13 @@
|
|
|
1130
1839
|
"autoincrement": false,
|
|
1131
1840
|
"primary": false,
|
|
1132
1841
|
"nullable": true,
|
|
1842
|
+
"unique": false,
|
|
1843
|
+
"length": null,
|
|
1844
|
+
"precision": null,
|
|
1845
|
+
"scale": null,
|
|
1846
|
+
"default": null,
|
|
1847
|
+
"comment": null,
|
|
1848
|
+
"enumItems": [],
|
|
1133
1849
|
"mappedType": "json"
|
|
1134
1850
|
},
|
|
1135
1851
|
"created_at": {
|
|
@@ -1139,7 +1855,13 @@
|
|
|
1139
1855
|
"autoincrement": false,
|
|
1140
1856
|
"primary": false,
|
|
1141
1857
|
"nullable": false,
|
|
1858
|
+
"unique": false,
|
|
1142
1859
|
"length": 6,
|
|
1860
|
+
"precision": null,
|
|
1861
|
+
"scale": null,
|
|
1862
|
+
"default": null,
|
|
1863
|
+
"comment": null,
|
|
1864
|
+
"enumItems": [],
|
|
1143
1865
|
"mappedType": "datetime"
|
|
1144
1866
|
},
|
|
1145
1867
|
"updated_at": {
|
|
@@ -1149,7 +1871,13 @@
|
|
|
1149
1871
|
"autoincrement": false,
|
|
1150
1872
|
"primary": false,
|
|
1151
1873
|
"nullable": true,
|
|
1874
|
+
"unique": false,
|
|
1152
1875
|
"length": 6,
|
|
1876
|
+
"precision": null,
|
|
1877
|
+
"scale": null,
|
|
1878
|
+
"default": null,
|
|
1879
|
+
"comment": null,
|
|
1880
|
+
"enumItems": [],
|
|
1153
1881
|
"mappedType": "datetime"
|
|
1154
1882
|
},
|
|
1155
1883
|
"deleted_at": {
|
|
@@ -1159,26 +1887,17 @@
|
|
|
1159
1887
|
"autoincrement": false,
|
|
1160
1888
|
"primary": false,
|
|
1161
1889
|
"nullable": true,
|
|
1890
|
+
"unique": false,
|
|
1162
1891
|
"length": 6,
|
|
1892
|
+
"precision": null,
|
|
1893
|
+
"scale": null,
|
|
1894
|
+
"default": null,
|
|
1895
|
+
"comment": null,
|
|
1896
|
+
"enumItems": [],
|
|
1163
1897
|
"mappedType": "datetime"
|
|
1164
1898
|
}
|
|
1165
1899
|
},
|
|
1166
|
-
"name": "user_sidebar_preferences",
|
|
1167
|
-
"schema": "public",
|
|
1168
1900
|
"indexes": [
|
|
1169
|
-
{
|
|
1170
|
-
"keyName": "user_sidebar_preferences_user_id_tenant_id_organi_f3f2f_unique",
|
|
1171
|
-
"columnNames": [
|
|
1172
|
-
"user_id",
|
|
1173
|
-
"tenant_id",
|
|
1174
|
-
"organization_id",
|
|
1175
|
-
"locale"
|
|
1176
|
-
],
|
|
1177
|
-
"composite": true,
|
|
1178
|
-
"constraint": true,
|
|
1179
|
-
"primary": false,
|
|
1180
|
-
"unique": true
|
|
1181
|
-
},
|
|
1182
1901
|
{
|
|
1183
1902
|
"keyName": "user_sidebar_preferences_pkey",
|
|
1184
1903
|
"columnNames": [
|
|
@@ -1201,12 +1920,12 @@
|
|
|
1201
1920
|
"referencedColumnNames": [
|
|
1202
1921
|
"id"
|
|
1203
1922
|
],
|
|
1204
|
-
"referencedTableName": "public.users"
|
|
1205
|
-
"updateRule": "cascade"
|
|
1923
|
+
"referencedTableName": "public.users"
|
|
1206
1924
|
}
|
|
1207
1925
|
},
|
|
1208
1926
|
"nativeEnums": {}
|
|
1209
1927
|
}
|
|
1210
1928
|
],
|
|
1929
|
+
"views": [],
|
|
1211
1930
|
"nativeEnums": {}
|
|
1212
1931
|
}
|