@happyvertical/smrt-profiles 0.49.3 → 0.49.4
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/dist/index.js +1 -1
- package/dist/manifest.json +826 -81
- package/dist/smrt-knowledge.json +11 -11
- package/package.json +6 -6
package/dist/manifest.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"version": "1.0.0",
|
|
3
3
|
"timestamp": 0,
|
|
4
4
|
"packageName": "@happyvertical/smrt-profiles",
|
|
5
|
-
"packageVersion": "0.49.
|
|
5
|
+
"packageVersion": "0.49.4",
|
|
6
6
|
"objects": {
|
|
7
7
|
"@happyvertical/smrt-profiles:ApiKeyCollection": {
|
|
8
8
|
"name": "apikeycollection",
|
|
@@ -139,7 +139,7 @@
|
|
|
139
139
|
"collectionExportName": "ApiKeyCollectionCollection",
|
|
140
140
|
"schema": {
|
|
141
141
|
"tableName": "api_keys",
|
|
142
|
-
"ddl": "CREATE TABLE IF NOT EXISTS \"api_keys\" (\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp\n);",
|
|
142
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"api_keys\" (\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"profile_id\" UUID NOT NULL,\n \"key_hash\" TEXT DEFAULT '',\n \"key_prefix\" TEXT DEFAULT '',\n \"name\" TEXT DEFAULT '',\n \"scopes\" JSON DEFAULT '[]',\n \"last_used_at\" TIMESTAMP,\n \"expires_at\" TIMESTAMP,\n \"revoked_at\" TIMESTAMP\n);",
|
|
143
143
|
"columns": {
|
|
144
144
|
"id": {
|
|
145
145
|
"type": "UUID",
|
|
@@ -165,6 +165,57 @@
|
|
|
165
165
|
"type": "TIMESTAMP",
|
|
166
166
|
"notNull": true,
|
|
167
167
|
"default": "current_timestamp"
|
|
168
|
+
},
|
|
169
|
+
"profile_id": {
|
|
170
|
+
"type": "UUID",
|
|
171
|
+
"referenceKind": "foreignKey",
|
|
172
|
+
"notNull": true,
|
|
173
|
+
"unique": false,
|
|
174
|
+
"foreignKey": {
|
|
175
|
+
"table": "profiles",
|
|
176
|
+
"column": "id",
|
|
177
|
+
"onDelete": "NO ACTION",
|
|
178
|
+
"onUpdate": "CASCADE"
|
|
179
|
+
}
|
|
180
|
+
},
|
|
181
|
+
"key_hash": {
|
|
182
|
+
"type": "TEXT",
|
|
183
|
+
"notNull": false,
|
|
184
|
+
"unique": false,
|
|
185
|
+
"default": ""
|
|
186
|
+
},
|
|
187
|
+
"key_prefix": {
|
|
188
|
+
"type": "TEXT",
|
|
189
|
+
"notNull": false,
|
|
190
|
+
"unique": false,
|
|
191
|
+
"default": ""
|
|
192
|
+
},
|
|
193
|
+
"name": {
|
|
194
|
+
"type": "TEXT",
|
|
195
|
+
"notNull": false,
|
|
196
|
+
"unique": false,
|
|
197
|
+
"default": ""
|
|
198
|
+
},
|
|
199
|
+
"scopes": {
|
|
200
|
+
"type": "JSON",
|
|
201
|
+
"notNull": false,
|
|
202
|
+
"unique": false,
|
|
203
|
+
"default": []
|
|
204
|
+
},
|
|
205
|
+
"last_used_at": {
|
|
206
|
+
"type": "TIMESTAMP",
|
|
207
|
+
"notNull": false,
|
|
208
|
+
"unique": false
|
|
209
|
+
},
|
|
210
|
+
"expires_at": {
|
|
211
|
+
"type": "TIMESTAMP",
|
|
212
|
+
"notNull": false,
|
|
213
|
+
"unique": false
|
|
214
|
+
},
|
|
215
|
+
"revoked_at": {
|
|
216
|
+
"type": "TIMESTAMP",
|
|
217
|
+
"notNull": false,
|
|
218
|
+
"unique": false
|
|
168
219
|
}
|
|
169
220
|
},
|
|
170
221
|
"indexes": [
|
|
@@ -176,14 +227,26 @@
|
|
|
176
227
|
],
|
|
177
228
|
"unique": true
|
|
178
229
|
},
|
|
230
|
+
{
|
|
231
|
+
"name": "api_keys_key_hash_idx",
|
|
232
|
+
"columns": [
|
|
233
|
+
"key_hash"
|
|
234
|
+
]
|
|
235
|
+
},
|
|
179
236
|
{
|
|
180
237
|
"name": "api_keys_created_at_idx",
|
|
181
238
|
"columns": [
|
|
182
239
|
"created_at"
|
|
183
240
|
]
|
|
241
|
+
},
|
|
242
|
+
{
|
|
243
|
+
"name": "api_keys_profile_id_idx",
|
|
244
|
+
"columns": [
|
|
245
|
+
"profile_id"
|
|
246
|
+
]
|
|
184
247
|
}
|
|
185
248
|
],
|
|
186
|
-
"version": "
|
|
249
|
+
"version": "9b0d49e8"
|
|
187
250
|
}
|
|
188
251
|
},
|
|
189
252
|
"@happyvertical/smrt-profiles:AuditLogCollection": {
|
|
@@ -339,7 +402,7 @@
|
|
|
339
402
|
"collectionExportName": "AuditLogCollectionCollection",
|
|
340
403
|
"schema": {
|
|
341
404
|
"tableName": "audit_logs",
|
|
342
|
-
"ddl": "CREATE TABLE IF NOT EXISTS \"audit_logs\" (\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp\n);",
|
|
405
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"audit_logs\" (\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID,\n \"profile_id\" UUID NOT NULL,\n \"action\" TEXT DEFAULT '',\n \"resource_type\" TEXT DEFAULT '',\n \"resource_id\" TEXT DEFAULT '',\n \"source\" TEXT DEFAULT 'web',\n \"metadata\" JSON DEFAULT '{}',\n \"on_behalf_of_id\" UUID\n);",
|
|
343
406
|
"columns": {
|
|
344
407
|
"id": {
|
|
345
408
|
"type": "UUID",
|
|
@@ -365,25 +428,100 @@
|
|
|
365
428
|
"type": "TIMESTAMP",
|
|
366
429
|
"notNull": true,
|
|
367
430
|
"default": "current_timestamp"
|
|
431
|
+
},
|
|
432
|
+
"tenant_id": {
|
|
433
|
+
"type": "UUID",
|
|
434
|
+
"referenceKind": "tenantId",
|
|
435
|
+
"notNull": false,
|
|
436
|
+
"unique": false
|
|
437
|
+
},
|
|
438
|
+
"profile_id": {
|
|
439
|
+
"type": "UUID",
|
|
440
|
+
"referenceKind": "foreignKey",
|
|
441
|
+
"notNull": true,
|
|
442
|
+
"unique": false,
|
|
443
|
+
"foreignKey": {
|
|
444
|
+
"table": "profiles",
|
|
445
|
+
"column": "id",
|
|
446
|
+
"onDelete": "NO ACTION",
|
|
447
|
+
"onUpdate": "CASCADE"
|
|
448
|
+
}
|
|
449
|
+
},
|
|
450
|
+
"action": {
|
|
451
|
+
"type": "TEXT",
|
|
452
|
+
"notNull": false,
|
|
453
|
+
"unique": false,
|
|
454
|
+
"default": ""
|
|
455
|
+
},
|
|
456
|
+
"resource_type": {
|
|
457
|
+
"type": "TEXT",
|
|
458
|
+
"notNull": false,
|
|
459
|
+
"unique": false,
|
|
460
|
+
"default": ""
|
|
461
|
+
},
|
|
462
|
+
"resource_id": {
|
|
463
|
+
"type": "TEXT",
|
|
464
|
+
"notNull": false,
|
|
465
|
+
"unique": false,
|
|
466
|
+
"default": ""
|
|
467
|
+
},
|
|
468
|
+
"source": {
|
|
469
|
+
"type": "TEXT",
|
|
470
|
+
"notNull": false,
|
|
471
|
+
"unique": false,
|
|
472
|
+
"default": "web"
|
|
473
|
+
},
|
|
474
|
+
"metadata": {
|
|
475
|
+
"type": "JSON",
|
|
476
|
+
"notNull": false,
|
|
477
|
+
"unique": false,
|
|
478
|
+
"default": {}
|
|
479
|
+
},
|
|
480
|
+
"on_behalf_of_id": {
|
|
481
|
+
"type": "UUID",
|
|
482
|
+
"referenceKind": "foreignKey",
|
|
483
|
+
"notNull": false,
|
|
484
|
+
"unique": false,
|
|
485
|
+
"foreignKey": {
|
|
486
|
+
"table": "profiles",
|
|
487
|
+
"column": "id",
|
|
488
|
+
"onDelete": "NO ACTION",
|
|
489
|
+
"onUpdate": "CASCADE"
|
|
490
|
+
}
|
|
368
491
|
}
|
|
369
492
|
},
|
|
370
493
|
"indexes": [
|
|
371
494
|
{
|
|
372
495
|
"name": "audit_logs_slug_context_idx",
|
|
373
496
|
"columns": [
|
|
497
|
+
"tenant_id",
|
|
374
498
|
"slug",
|
|
375
499
|
"context"
|
|
376
500
|
],
|
|
377
|
-
"unique": true
|
|
501
|
+
"unique": true,
|
|
502
|
+
"nullsNotDistinct": true
|
|
378
503
|
},
|
|
379
504
|
{
|
|
380
|
-
"name": "
|
|
505
|
+
"name": "audit_logs_tenant_id_created_at_idx",
|
|
381
506
|
"columns": [
|
|
507
|
+
"tenant_id",
|
|
382
508
|
"created_at"
|
|
383
509
|
]
|
|
510
|
+
},
|
|
511
|
+
{
|
|
512
|
+
"name": "audit_logs_profile_id_idx",
|
|
513
|
+
"columns": [
|
|
514
|
+
"profile_id"
|
|
515
|
+
]
|
|
516
|
+
},
|
|
517
|
+
{
|
|
518
|
+
"name": "audit_logs_on_behalf_of_id_idx",
|
|
519
|
+
"columns": [
|
|
520
|
+
"on_behalf_of_id"
|
|
521
|
+
]
|
|
384
522
|
}
|
|
385
523
|
],
|
|
386
|
-
"version": "
|
|
524
|
+
"version": "d2b35971"
|
|
387
525
|
}
|
|
388
526
|
},
|
|
389
527
|
"@happyvertical/smrt-profiles:MagicLinkTokenCollection": {
|
|
@@ -559,7 +697,7 @@
|
|
|
559
697
|
"collectionExportName": "MagicLinkTokenCollectionCollection",
|
|
560
698
|
"schema": {
|
|
561
699
|
"tableName": "magic_link_tokens",
|
|
562
|
-
"ddl": "CREATE TABLE IF NOT EXISTS \"magic_link_tokens\" (\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp\n);",
|
|
700
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"magic_link_tokens\" (\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"nostr_identity_id\" UUID NOT NULL,\n \"token_hash\" TEXT DEFAULT '',\n \"email\" TEXT DEFAULT '',\n \"expires_at\" TIMESTAMP,\n \"used_at\" TIMESTAMP,\n \"requested_from_ip\" TEXT DEFAULT ''\n);",
|
|
563
701
|
"columns": {
|
|
564
702
|
"id": {
|
|
565
703
|
"type": "UUID",
|
|
@@ -585,6 +723,46 @@
|
|
|
585
723
|
"type": "TIMESTAMP",
|
|
586
724
|
"notNull": true,
|
|
587
725
|
"default": "current_timestamp"
|
|
726
|
+
},
|
|
727
|
+
"nostr_identity_id": {
|
|
728
|
+
"type": "UUID",
|
|
729
|
+
"referenceKind": "foreignKey",
|
|
730
|
+
"notNull": true,
|
|
731
|
+
"unique": false,
|
|
732
|
+
"foreignKey": {
|
|
733
|
+
"table": "nostr_identities",
|
|
734
|
+
"column": "id",
|
|
735
|
+
"onDelete": "NO ACTION",
|
|
736
|
+
"onUpdate": "CASCADE"
|
|
737
|
+
}
|
|
738
|
+
},
|
|
739
|
+
"token_hash": {
|
|
740
|
+
"type": "TEXT",
|
|
741
|
+
"notNull": false,
|
|
742
|
+
"unique": false,
|
|
743
|
+
"default": ""
|
|
744
|
+
},
|
|
745
|
+
"email": {
|
|
746
|
+
"type": "TEXT",
|
|
747
|
+
"notNull": false,
|
|
748
|
+
"unique": false,
|
|
749
|
+
"default": ""
|
|
750
|
+
},
|
|
751
|
+
"expires_at": {
|
|
752
|
+
"type": "TIMESTAMP",
|
|
753
|
+
"notNull": false,
|
|
754
|
+
"unique": false
|
|
755
|
+
},
|
|
756
|
+
"used_at": {
|
|
757
|
+
"type": "TIMESTAMP",
|
|
758
|
+
"notNull": false,
|
|
759
|
+
"unique": false
|
|
760
|
+
},
|
|
761
|
+
"requested_from_ip": {
|
|
762
|
+
"type": "TEXT",
|
|
763
|
+
"notNull": false,
|
|
764
|
+
"unique": false,
|
|
765
|
+
"default": ""
|
|
588
766
|
}
|
|
589
767
|
},
|
|
590
768
|
"indexes": [
|
|
@@ -596,14 +774,26 @@
|
|
|
596
774
|
],
|
|
597
775
|
"unique": true
|
|
598
776
|
},
|
|
777
|
+
{
|
|
778
|
+
"name": "magic_link_tokens_token_hash_idx",
|
|
779
|
+
"columns": [
|
|
780
|
+
"token_hash"
|
|
781
|
+
]
|
|
782
|
+
},
|
|
599
783
|
{
|
|
600
784
|
"name": "magic_link_tokens_created_at_idx",
|
|
601
785
|
"columns": [
|
|
602
786
|
"created_at"
|
|
603
787
|
]
|
|
788
|
+
},
|
|
789
|
+
{
|
|
790
|
+
"name": "magic_link_tokens_nostr_identity_id_idx",
|
|
791
|
+
"columns": [
|
|
792
|
+
"nostr_identity_id"
|
|
793
|
+
]
|
|
604
794
|
}
|
|
605
795
|
],
|
|
606
|
-
"version": "
|
|
796
|
+
"version": "d60748fe"
|
|
607
797
|
}
|
|
608
798
|
},
|
|
609
799
|
"@happyvertical/smrt-profiles:NostrIdentityCollection": {
|
|
@@ -798,7 +988,7 @@
|
|
|
798
988
|
"collectionExportName": "NostrIdentityCollectionCollection",
|
|
799
989
|
"schema": {
|
|
800
990
|
"tableName": "nostr_identities",
|
|
801
|
-
"ddl": "CREATE TABLE IF NOT EXISTS \"nostr_identities\" (\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp\n);",
|
|
991
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"nostr_identities\" (\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"profile_id\" UUID NOT NULL,\n \"pubkey\" TEXT DEFAULT '',\n \"encrypted_privkey\" TEXT DEFAULT '',\n \"encryption_iv\" TEXT DEFAULT '',\n \"encryption_tag\" TEXT DEFAULT '',\n \"email\" TEXT DEFAULT '',\n \"nip05_username\" TEXT DEFAULT '',\n \"last_used_at\" TIMESTAMP,\n \"verified_at\" TIMESTAMP\n);",
|
|
802
992
|
"columns": {
|
|
803
993
|
"id": {
|
|
804
994
|
"type": "UUID",
|
|
@@ -824,6 +1014,64 @@
|
|
|
824
1014
|
"type": "TIMESTAMP",
|
|
825
1015
|
"notNull": true,
|
|
826
1016
|
"default": "current_timestamp"
|
|
1017
|
+
},
|
|
1018
|
+
"profile_id": {
|
|
1019
|
+
"type": "UUID",
|
|
1020
|
+
"referenceKind": "foreignKey",
|
|
1021
|
+
"notNull": true,
|
|
1022
|
+
"unique": false,
|
|
1023
|
+
"foreignKey": {
|
|
1024
|
+
"table": "profiles",
|
|
1025
|
+
"column": "id",
|
|
1026
|
+
"onDelete": "NO ACTION",
|
|
1027
|
+
"onUpdate": "CASCADE"
|
|
1028
|
+
}
|
|
1029
|
+
},
|
|
1030
|
+
"pubkey": {
|
|
1031
|
+
"type": "TEXT",
|
|
1032
|
+
"notNull": false,
|
|
1033
|
+
"unique": false,
|
|
1034
|
+
"default": ""
|
|
1035
|
+
},
|
|
1036
|
+
"encrypted_privkey": {
|
|
1037
|
+
"type": "TEXT",
|
|
1038
|
+
"notNull": false,
|
|
1039
|
+
"unique": false,
|
|
1040
|
+
"default": ""
|
|
1041
|
+
},
|
|
1042
|
+
"encryption_iv": {
|
|
1043
|
+
"type": "TEXT",
|
|
1044
|
+
"notNull": false,
|
|
1045
|
+
"unique": false,
|
|
1046
|
+
"default": ""
|
|
1047
|
+
},
|
|
1048
|
+
"encryption_tag": {
|
|
1049
|
+
"type": "TEXT",
|
|
1050
|
+
"notNull": false,
|
|
1051
|
+
"unique": false,
|
|
1052
|
+
"default": ""
|
|
1053
|
+
},
|
|
1054
|
+
"email": {
|
|
1055
|
+
"type": "TEXT",
|
|
1056
|
+
"notNull": false,
|
|
1057
|
+
"unique": false,
|
|
1058
|
+
"default": ""
|
|
1059
|
+
},
|
|
1060
|
+
"nip05_username": {
|
|
1061
|
+
"type": "TEXT",
|
|
1062
|
+
"notNull": false,
|
|
1063
|
+
"unique": false,
|
|
1064
|
+
"default": ""
|
|
1065
|
+
},
|
|
1066
|
+
"last_used_at": {
|
|
1067
|
+
"type": "TIMESTAMP",
|
|
1068
|
+
"notNull": false,
|
|
1069
|
+
"unique": false
|
|
1070
|
+
},
|
|
1071
|
+
"verified_at": {
|
|
1072
|
+
"type": "TIMESTAMP",
|
|
1073
|
+
"notNull": false,
|
|
1074
|
+
"unique": false
|
|
827
1075
|
}
|
|
828
1076
|
},
|
|
829
1077
|
"indexes": [
|
|
@@ -835,14 +1083,26 @@
|
|
|
835
1083
|
],
|
|
836
1084
|
"unique": true
|
|
837
1085
|
},
|
|
1086
|
+
{
|
|
1087
|
+
"name": "nostr_identities_pubkey_idx",
|
|
1088
|
+
"columns": [
|
|
1089
|
+
"pubkey"
|
|
1090
|
+
]
|
|
1091
|
+
},
|
|
838
1092
|
{
|
|
839
1093
|
"name": "nostr_identities_created_at_idx",
|
|
840
1094
|
"columns": [
|
|
841
1095
|
"created_at"
|
|
842
1096
|
]
|
|
1097
|
+
},
|
|
1098
|
+
{
|
|
1099
|
+
"name": "nostr_identities_profile_id_idx",
|
|
1100
|
+
"columns": [
|
|
1101
|
+
"profile_id"
|
|
1102
|
+
]
|
|
843
1103
|
}
|
|
844
1104
|
],
|
|
845
|
-
"version": "
|
|
1105
|
+
"version": "92eda375"
|
|
846
1106
|
}
|
|
847
1107
|
},
|
|
848
1108
|
"@happyvertical/smrt-profiles:OidcIdentityCollection": {
|
|
@@ -957,7 +1217,7 @@
|
|
|
957
1217
|
"collectionExportName": "OidcIdentityCollectionCollection",
|
|
958
1218
|
"schema": {
|
|
959
1219
|
"tableName": "oidc_identities",
|
|
960
|
-
"ddl": "CREATE TABLE IF NOT EXISTS \"oidc_identities\" (\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp\n);",
|
|
1220
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"oidc_identities\" (\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"profile_id\" UUID NOT NULL,\n \"provider\" TEXT,\n \"issuer\" TEXT,\n \"subject\" TEXT,\n \"identity_key\" TEXT UNIQUE,\n \"email\" TEXT,\n \"last_used_at\" TIMESTAMP\n);",
|
|
961
1221
|
"columns": {
|
|
962
1222
|
"id": {
|
|
963
1223
|
"type": "UUID",
|
|
@@ -983,25 +1243,85 @@
|
|
|
983
1243
|
"type": "TIMESTAMP",
|
|
984
1244
|
"notNull": true,
|
|
985
1245
|
"default": "current_timestamp"
|
|
1246
|
+
},
|
|
1247
|
+
"profile_id": {
|
|
1248
|
+
"type": "UUID",
|
|
1249
|
+
"referenceKind": "foreignKey",
|
|
1250
|
+
"notNull": true,
|
|
1251
|
+
"unique": false,
|
|
1252
|
+
"foreignKey": {
|
|
1253
|
+
"table": "profiles",
|
|
1254
|
+
"column": "id",
|
|
1255
|
+
"onDelete": "NO ACTION",
|
|
1256
|
+
"onUpdate": "CASCADE"
|
|
1257
|
+
}
|
|
1258
|
+
},
|
|
1259
|
+
"provider": {
|
|
1260
|
+
"type": "TEXT",
|
|
1261
|
+
"notNull": false,
|
|
1262
|
+
"unique": false
|
|
1263
|
+
},
|
|
1264
|
+
"issuer": {
|
|
1265
|
+
"type": "TEXT",
|
|
1266
|
+
"notNull": false,
|
|
1267
|
+
"unique": false
|
|
1268
|
+
},
|
|
1269
|
+
"subject": {
|
|
1270
|
+
"type": "TEXT",
|
|
1271
|
+
"notNull": false,
|
|
1272
|
+
"unique": false
|
|
1273
|
+
},
|
|
1274
|
+
"identity_key": {
|
|
1275
|
+
"type": "TEXT",
|
|
1276
|
+
"notNull": false,
|
|
1277
|
+
"unique": true
|
|
1278
|
+
},
|
|
1279
|
+
"email": {
|
|
1280
|
+
"type": "TEXT",
|
|
1281
|
+
"notNull": false,
|
|
1282
|
+
"unique": false
|
|
1283
|
+
},
|
|
1284
|
+
"last_used_at": {
|
|
1285
|
+
"type": "TIMESTAMP",
|
|
1286
|
+
"notNull": false,
|
|
1287
|
+
"unique": false
|
|
986
1288
|
}
|
|
987
1289
|
},
|
|
988
1290
|
"indexes": [
|
|
989
1291
|
{
|
|
990
|
-
"name": "oidc_identities_slug_context_idx",
|
|
1292
|
+
"name": "oidc_identities_slug_context_idx",
|
|
1293
|
+
"columns": [
|
|
1294
|
+
"slug",
|
|
1295
|
+
"context"
|
|
1296
|
+
],
|
|
1297
|
+
"unique": true
|
|
1298
|
+
},
|
|
1299
|
+
{
|
|
1300
|
+
"name": "oidc_identities_issuer_idx",
|
|
1301
|
+
"columns": [
|
|
1302
|
+
"issuer"
|
|
1303
|
+
]
|
|
1304
|
+
},
|
|
1305
|
+
{
|
|
1306
|
+
"name": "oidc_identities_subject_idx",
|
|
991
1307
|
"columns": [
|
|
992
|
-
"
|
|
993
|
-
|
|
994
|
-
],
|
|
995
|
-
"unique": true
|
|
1308
|
+
"subject"
|
|
1309
|
+
]
|
|
996
1310
|
},
|
|
997
1311
|
{
|
|
998
1312
|
"name": "oidc_identities_created_at_idx",
|
|
999
1313
|
"columns": [
|
|
1000
1314
|
"created_at"
|
|
1001
1315
|
]
|
|
1316
|
+
},
|
|
1317
|
+
{
|
|
1318
|
+
"name": "oidc_identities_profile_id_idx",
|
|
1319
|
+
"columns": [
|
|
1320
|
+
"profile_id"
|
|
1321
|
+
]
|
|
1002
1322
|
}
|
|
1003
1323
|
],
|
|
1004
|
-
"version": "
|
|
1324
|
+
"version": "925387ea"
|
|
1005
1325
|
}
|
|
1006
1326
|
},
|
|
1007
1327
|
"@happyvertical/smrt-profiles:OidcProfileEmailReservationCollection": {
|
|
@@ -1025,7 +1345,7 @@
|
|
|
1025
1345
|
"collectionExportName": "OidcProfileEmailReservationCollectionCollection",
|
|
1026
1346
|
"schema": {
|
|
1027
1347
|
"tableName": "oidc_profile_email_reservations",
|
|
1028
|
-
"ddl": "CREATE TABLE IF NOT EXISTS \"oidc_profile_email_reservations\" (\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp\n);",
|
|
1348
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"oidc_profile_email_reservations\" (\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"profile_id\" UUID NOT NULL UNIQUE,\n \"email_key\" TEXT NOT NULL UNIQUE\n);",
|
|
1029
1349
|
"columns": {
|
|
1030
1350
|
"id": {
|
|
1031
1351
|
"type": "UUID",
|
|
@@ -1051,6 +1371,23 @@
|
|
|
1051
1371
|
"type": "TIMESTAMP",
|
|
1052
1372
|
"notNull": true,
|
|
1053
1373
|
"default": "current_timestamp"
|
|
1374
|
+
},
|
|
1375
|
+
"profile_id": {
|
|
1376
|
+
"type": "UUID",
|
|
1377
|
+
"referenceKind": "foreignKey",
|
|
1378
|
+
"notNull": true,
|
|
1379
|
+
"unique": true,
|
|
1380
|
+
"foreignKey": {
|
|
1381
|
+
"table": "profiles",
|
|
1382
|
+
"column": "id",
|
|
1383
|
+
"onDelete": "NO ACTION",
|
|
1384
|
+
"onUpdate": "CASCADE"
|
|
1385
|
+
}
|
|
1386
|
+
},
|
|
1387
|
+
"email_key": {
|
|
1388
|
+
"type": "TEXT",
|
|
1389
|
+
"notNull": true,
|
|
1390
|
+
"unique": true
|
|
1054
1391
|
}
|
|
1055
1392
|
},
|
|
1056
1393
|
"indexes": [
|
|
@@ -1069,7 +1406,7 @@
|
|
|
1069
1406
|
]
|
|
1070
1407
|
}
|
|
1071
1408
|
],
|
|
1072
|
-
"version": "
|
|
1409
|
+
"version": "01586e67"
|
|
1073
1410
|
}
|
|
1074
1411
|
},
|
|
1075
1412
|
"@happyvertical/smrt-profiles:ProfileAssetCollection": {
|
|
@@ -1277,7 +1614,7 @@
|
|
|
1277
1614
|
"collectionExportName": "ProfileAssetCollectionCollection",
|
|
1278
1615
|
"schema": {
|
|
1279
1616
|
"tableName": "profile_assets",
|
|
1280
|
-
"ddl": "CREATE TABLE IF NOT EXISTS \"profile_assets\" (\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp\n);",
|
|
1617
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"profile_assets\" (\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID,\n \"profile_id\" UUID NOT NULL,\n \"asset_id\" UUID NOT NULL,\n \"relationship\" TEXT NOT NULL,\n \"sort_order\" INTEGER NOT NULL DEFAULT 0\n);",
|
|
1281
1618
|
"columns": {
|
|
1282
1619
|
"id": {
|
|
1283
1620
|
"type": "UUID",
|
|
@@ -1303,25 +1640,75 @@
|
|
|
1303
1640
|
"type": "TIMESTAMP",
|
|
1304
1641
|
"notNull": true,
|
|
1305
1642
|
"default": "current_timestamp"
|
|
1643
|
+
},
|
|
1644
|
+
"tenant_id": {
|
|
1645
|
+
"type": "UUID",
|
|
1646
|
+
"referenceKind": "tenantId",
|
|
1647
|
+
"notNull": false,
|
|
1648
|
+
"unique": false
|
|
1649
|
+
},
|
|
1650
|
+
"profile_id": {
|
|
1651
|
+
"type": "UUID",
|
|
1652
|
+
"referenceKind": "foreignKey",
|
|
1653
|
+
"notNull": true,
|
|
1654
|
+
"unique": false,
|
|
1655
|
+
"foreignKey": {
|
|
1656
|
+
"table": "profiles",
|
|
1657
|
+
"column": "id",
|
|
1658
|
+
"onDelete": "CASCADE",
|
|
1659
|
+
"onUpdate": "CASCADE"
|
|
1660
|
+
}
|
|
1661
|
+
},
|
|
1662
|
+
"asset_id": {
|
|
1663
|
+
"type": "UUID",
|
|
1664
|
+
"referenceKind": "crossPackageRef",
|
|
1665
|
+
"notNull": true,
|
|
1666
|
+
"unique": false
|
|
1667
|
+
},
|
|
1668
|
+
"relationship": {
|
|
1669
|
+
"type": "TEXT",
|
|
1670
|
+
"notNull": true,
|
|
1671
|
+
"unique": false
|
|
1672
|
+
},
|
|
1673
|
+
"sort_order": {
|
|
1674
|
+
"type": "INTEGER",
|
|
1675
|
+
"notNull": true,
|
|
1676
|
+
"unique": false,
|
|
1677
|
+
"default": 0
|
|
1306
1678
|
}
|
|
1307
1679
|
},
|
|
1308
1680
|
"indexes": [
|
|
1681
|
+
{
|
|
1682
|
+
"name": "profile_assets_profile_id_asset_id_idx",
|
|
1683
|
+
"columns": [
|
|
1684
|
+
"profile_id",
|
|
1685
|
+
"asset_id",
|
|
1686
|
+
"relationship"
|
|
1687
|
+
],
|
|
1688
|
+
"unique": true
|
|
1689
|
+
},
|
|
1309
1690
|
{
|
|
1310
1691
|
"name": "profile_assets_slug_context_idx",
|
|
1311
1692
|
"columns": [
|
|
1312
1693
|
"slug",
|
|
1313
1694
|
"context"
|
|
1314
|
-
]
|
|
1315
|
-
"unique": true
|
|
1695
|
+
]
|
|
1316
1696
|
},
|
|
1317
1697
|
{
|
|
1318
|
-
"name": "
|
|
1698
|
+
"name": "profile_assets_tenant_id_created_at_idx",
|
|
1319
1699
|
"columns": [
|
|
1700
|
+
"tenant_id",
|
|
1320
1701
|
"created_at"
|
|
1321
1702
|
]
|
|
1703
|
+
},
|
|
1704
|
+
{
|
|
1705
|
+
"name": "profile_assets_asset_id_idx",
|
|
1706
|
+
"columns": [
|
|
1707
|
+
"asset_id"
|
|
1708
|
+
]
|
|
1322
1709
|
}
|
|
1323
1710
|
],
|
|
1324
|
-
"version": "
|
|
1711
|
+
"version": "d0d7c2a2"
|
|
1325
1712
|
}
|
|
1326
1713
|
},
|
|
1327
1714
|
"@happyvertical/smrt-profiles:ProfileCollection": {
|
|
@@ -1602,8 +1989,8 @@
|
|
|
1602
1989
|
"exportName": "ProfileCollection",
|
|
1603
1990
|
"collectionExportName": "ProfileCollectionCollection",
|
|
1604
1991
|
"schema": {
|
|
1605
|
-
"tableName": "
|
|
1606
|
-
"ddl": "CREATE TABLE IF NOT EXISTS \"
|
|
1992
|
+
"tableName": "profiles",
|
|
1993
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"profiles\" (\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"_meta_type\" TEXT NOT NULL,\n \"_meta_data\" JSON,\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID,\n \"type_id\" UUID,\n \"email\" TEXT,\n \"email_key\" TEXT,\n \"name\" TEXT DEFAULT '',\n \"description\" TEXT\n);",
|
|
1607
1994
|
"columns": {
|
|
1608
1995
|
"id": {
|
|
1609
1996
|
"type": "UUID",
|
|
@@ -1620,6 +2007,14 @@
|
|
|
1620
2007
|
"notNull": true,
|
|
1621
2008
|
"default": ""
|
|
1622
2009
|
},
|
|
2010
|
+
"_meta_type": {
|
|
2011
|
+
"type": "TEXT",
|
|
2012
|
+
"notNull": true
|
|
2013
|
+
},
|
|
2014
|
+
"_meta_data": {
|
|
2015
|
+
"type": "JSON",
|
|
2016
|
+
"notNull": false
|
|
2017
|
+
},
|
|
1623
2018
|
"created_at": {
|
|
1624
2019
|
"type": "TIMESTAMP",
|
|
1625
2020
|
"notNull": true,
|
|
@@ -1629,25 +2024,80 @@
|
|
|
1629
2024
|
"type": "TIMESTAMP",
|
|
1630
2025
|
"notNull": true,
|
|
1631
2026
|
"default": "current_timestamp"
|
|
2027
|
+
},
|
|
2028
|
+
"tenant_id": {
|
|
2029
|
+
"type": "UUID",
|
|
2030
|
+
"referenceKind": "tenantId",
|
|
2031
|
+
"notNull": false
|
|
2032
|
+
},
|
|
2033
|
+
"type_id": {
|
|
2034
|
+
"type": "UUID",
|
|
2035
|
+
"referenceKind": "foreignKey",
|
|
2036
|
+
"notNull": false,
|
|
2037
|
+
"foreignKey": {
|
|
2038
|
+
"table": "profile_types",
|
|
2039
|
+
"column": "id",
|
|
2040
|
+
"onDelete": "NO ACTION",
|
|
2041
|
+
"onUpdate": "CASCADE"
|
|
2042
|
+
}
|
|
2043
|
+
},
|
|
2044
|
+
"email": {
|
|
2045
|
+
"type": "TEXT",
|
|
2046
|
+
"notNull": false
|
|
2047
|
+
},
|
|
2048
|
+
"email_key": {
|
|
2049
|
+
"type": "TEXT",
|
|
2050
|
+
"notNull": false
|
|
2051
|
+
},
|
|
2052
|
+
"name": {
|
|
2053
|
+
"type": "TEXT",
|
|
2054
|
+
"notNull": false,
|
|
2055
|
+
"default": ""
|
|
2056
|
+
},
|
|
2057
|
+
"description": {
|
|
2058
|
+
"type": "TEXT",
|
|
2059
|
+
"notNull": false
|
|
1632
2060
|
}
|
|
1633
2061
|
},
|
|
1634
2062
|
"indexes": [
|
|
1635
2063
|
{
|
|
1636
|
-
"name": "
|
|
2064
|
+
"name": "profiles_slug_context_meta_type_idx",
|
|
1637
2065
|
"columns": [
|
|
2066
|
+
"tenant_id",
|
|
1638
2067
|
"slug",
|
|
1639
|
-
"context"
|
|
2068
|
+
"context",
|
|
2069
|
+
"_meta_type"
|
|
1640
2070
|
],
|
|
1641
|
-
"unique": true
|
|
2071
|
+
"unique": true,
|
|
2072
|
+
"nullsNotDistinct": true
|
|
2073
|
+
},
|
|
2074
|
+
{
|
|
2075
|
+
"name": "profiles_meta_type_idx",
|
|
2076
|
+
"columns": [
|
|
2077
|
+
"_meta_type"
|
|
2078
|
+
]
|
|
2079
|
+
},
|
|
2080
|
+
{
|
|
2081
|
+
"name": "profiles_email_key_idx",
|
|
2082
|
+
"columns": [
|
|
2083
|
+
"email_key"
|
|
2084
|
+
]
|
|
1642
2085
|
},
|
|
1643
2086
|
{
|
|
1644
|
-
"name": "
|
|
2087
|
+
"name": "profiles_tenant_id_created_at_idx",
|
|
1645
2088
|
"columns": [
|
|
2089
|
+
"tenant_id",
|
|
1646
2090
|
"created_at"
|
|
1647
2091
|
]
|
|
2092
|
+
},
|
|
2093
|
+
{
|
|
2094
|
+
"name": "profiles_type_id_idx",
|
|
2095
|
+
"columns": [
|
|
2096
|
+
"type_id"
|
|
2097
|
+
]
|
|
1648
2098
|
}
|
|
1649
2099
|
],
|
|
1650
|
-
"version": "
|
|
2100
|
+
"version": "fd4497fb"
|
|
1651
2101
|
}
|
|
1652
2102
|
},
|
|
1653
2103
|
"@happyvertical/smrt-profiles:ProfileMetadataCollection": {
|
|
@@ -1713,8 +2163,8 @@
|
|
|
1713
2163
|
"exportName": "ProfileMetadataCollection",
|
|
1714
2164
|
"collectionExportName": "ProfileMetadataCollectionCollection",
|
|
1715
2165
|
"schema": {
|
|
1716
|
-
"tableName": "
|
|
1717
|
-
"ddl": "CREATE TABLE IF NOT EXISTS \"
|
|
2166
|
+
"tableName": "profile_metadata",
|
|
2167
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"profile_metadata\" (\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"_meta_type\" TEXT NOT NULL,\n \"_meta_data\" JSON,\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID,\n \"profile_id\" UUID,\n \"metafield_id\" UUID,\n \"value\" TEXT DEFAULT ''\n);",
|
|
1718
2168
|
"columns": {
|
|
1719
2169
|
"id": {
|
|
1720
2170
|
"type": "UUID",
|
|
@@ -1731,6 +2181,14 @@
|
|
|
1731
2181
|
"notNull": true,
|
|
1732
2182
|
"default": ""
|
|
1733
2183
|
},
|
|
2184
|
+
"_meta_type": {
|
|
2185
|
+
"type": "TEXT",
|
|
2186
|
+
"notNull": true
|
|
2187
|
+
},
|
|
2188
|
+
"_meta_data": {
|
|
2189
|
+
"type": "JSON",
|
|
2190
|
+
"notNull": false
|
|
2191
|
+
},
|
|
1734
2192
|
"created_at": {
|
|
1735
2193
|
"type": "TIMESTAMP",
|
|
1736
2194
|
"notNull": true,
|
|
@@ -1740,25 +2198,79 @@
|
|
|
1740
2198
|
"type": "TIMESTAMP",
|
|
1741
2199
|
"notNull": true,
|
|
1742
2200
|
"default": "current_timestamp"
|
|
2201
|
+
},
|
|
2202
|
+
"tenant_id": {
|
|
2203
|
+
"type": "UUID",
|
|
2204
|
+
"referenceKind": "tenantId",
|
|
2205
|
+
"notNull": false
|
|
2206
|
+
},
|
|
2207
|
+
"profile_id": {
|
|
2208
|
+
"type": "UUID",
|
|
2209
|
+
"referenceKind": "foreignKey",
|
|
2210
|
+
"notNull": false,
|
|
2211
|
+
"foreignKey": {
|
|
2212
|
+
"table": "profiles",
|
|
2213
|
+
"column": "id",
|
|
2214
|
+
"onDelete": "NO ACTION",
|
|
2215
|
+
"onUpdate": "CASCADE"
|
|
2216
|
+
}
|
|
2217
|
+
},
|
|
2218
|
+
"metafield_id": {
|
|
2219
|
+
"type": "UUID",
|
|
2220
|
+
"referenceKind": "foreignKey",
|
|
2221
|
+
"notNull": false,
|
|
2222
|
+
"foreignKey": {
|
|
2223
|
+
"table": "profile_metafields",
|
|
2224
|
+
"column": "id",
|
|
2225
|
+
"onDelete": "NO ACTION",
|
|
2226
|
+
"onUpdate": "CASCADE"
|
|
2227
|
+
}
|
|
2228
|
+
},
|
|
2229
|
+
"value": {
|
|
2230
|
+
"type": "TEXT",
|
|
2231
|
+
"notNull": false,
|
|
2232
|
+
"default": ""
|
|
1743
2233
|
}
|
|
1744
2234
|
},
|
|
1745
2235
|
"indexes": [
|
|
1746
2236
|
{
|
|
1747
|
-
"name": "
|
|
2237
|
+
"name": "profile_metadata_slug_context_meta_type_idx",
|
|
1748
2238
|
"columns": [
|
|
2239
|
+
"tenant_id",
|
|
1749
2240
|
"slug",
|
|
1750
|
-
"context"
|
|
2241
|
+
"context",
|
|
2242
|
+
"_meta_type"
|
|
1751
2243
|
],
|
|
1752
|
-
"unique": true
|
|
2244
|
+
"unique": true,
|
|
2245
|
+
"nullsNotDistinct": true
|
|
2246
|
+
},
|
|
2247
|
+
{
|
|
2248
|
+
"name": "profile_metadata_meta_type_idx",
|
|
2249
|
+
"columns": [
|
|
2250
|
+
"_meta_type"
|
|
2251
|
+
]
|
|
1753
2252
|
},
|
|
1754
2253
|
{
|
|
1755
|
-
"name": "
|
|
2254
|
+
"name": "profile_metadata_tenant_id_created_at_idx",
|
|
1756
2255
|
"columns": [
|
|
2256
|
+
"tenant_id",
|
|
1757
2257
|
"created_at"
|
|
1758
2258
|
]
|
|
2259
|
+
},
|
|
2260
|
+
{
|
|
2261
|
+
"name": "profile_metadata_profile_id_idx",
|
|
2262
|
+
"columns": [
|
|
2263
|
+
"profile_id"
|
|
2264
|
+
]
|
|
2265
|
+
},
|
|
2266
|
+
{
|
|
2267
|
+
"name": "profile_metadata_metafield_id_idx",
|
|
2268
|
+
"columns": [
|
|
2269
|
+
"metafield_id"
|
|
2270
|
+
]
|
|
1759
2271
|
}
|
|
1760
2272
|
],
|
|
1761
|
-
"version": "
|
|
2273
|
+
"version": "d3ab1b70"
|
|
1762
2274
|
}
|
|
1763
2275
|
},
|
|
1764
2276
|
"@happyvertical/smrt-profiles:ProfileMetafieldCollection": {
|
|
@@ -1814,8 +2326,8 @@
|
|
|
1814
2326
|
"exportName": "ProfileMetafieldCollection",
|
|
1815
2327
|
"collectionExportName": "ProfileMetafieldCollectionCollection",
|
|
1816
2328
|
"schema": {
|
|
1817
|
-
"tableName": "
|
|
1818
|
-
"ddl": "CREATE TABLE IF NOT EXISTS \"
|
|
2329
|
+
"tableName": "profile_metafields",
|
|
2330
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"profile_metafields\" (\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"_meta_type\" TEXT NOT NULL,\n \"_meta_data\" JSON,\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID,\n \"name\" TEXT DEFAULT '',\n \"description\" TEXT,\n \"validation\" JSON\n);",
|
|
1819
2331
|
"columns": {
|
|
1820
2332
|
"id": {
|
|
1821
2333
|
"type": "UUID",
|
|
@@ -1832,6 +2344,14 @@
|
|
|
1832
2344
|
"notNull": true,
|
|
1833
2345
|
"default": ""
|
|
1834
2346
|
},
|
|
2347
|
+
"_meta_type": {
|
|
2348
|
+
"type": "TEXT",
|
|
2349
|
+
"notNull": true
|
|
2350
|
+
},
|
|
2351
|
+
"_meta_data": {
|
|
2352
|
+
"type": "JSON",
|
|
2353
|
+
"notNull": false
|
|
2354
|
+
},
|
|
1835
2355
|
"created_at": {
|
|
1836
2356
|
"type": "TIMESTAMP",
|
|
1837
2357
|
"notNull": true,
|
|
@@ -1841,25 +2361,53 @@
|
|
|
1841
2361
|
"type": "TIMESTAMP",
|
|
1842
2362
|
"notNull": true,
|
|
1843
2363
|
"default": "current_timestamp"
|
|
2364
|
+
},
|
|
2365
|
+
"tenant_id": {
|
|
2366
|
+
"type": "UUID",
|
|
2367
|
+
"referenceKind": "tenantId",
|
|
2368
|
+
"notNull": false
|
|
2369
|
+
},
|
|
2370
|
+
"name": {
|
|
2371
|
+
"type": "TEXT",
|
|
2372
|
+
"notNull": false,
|
|
2373
|
+
"default": ""
|
|
2374
|
+
},
|
|
2375
|
+
"description": {
|
|
2376
|
+
"type": "TEXT",
|
|
2377
|
+
"notNull": false
|
|
2378
|
+
},
|
|
2379
|
+
"validation": {
|
|
2380
|
+
"type": "JSON",
|
|
2381
|
+
"notNull": false
|
|
1844
2382
|
}
|
|
1845
2383
|
},
|
|
1846
2384
|
"indexes": [
|
|
1847
2385
|
{
|
|
1848
|
-
"name": "
|
|
2386
|
+
"name": "profile_metafields_slug_context_meta_type_idx",
|
|
1849
2387
|
"columns": [
|
|
2388
|
+
"tenant_id",
|
|
1850
2389
|
"slug",
|
|
1851
|
-
"context"
|
|
2390
|
+
"context",
|
|
2391
|
+
"_meta_type"
|
|
1852
2392
|
],
|
|
1853
|
-
"unique": true
|
|
2393
|
+
"unique": true,
|
|
2394
|
+
"nullsNotDistinct": true
|
|
2395
|
+
},
|
|
2396
|
+
{
|
|
2397
|
+
"name": "profile_metafields_meta_type_idx",
|
|
2398
|
+
"columns": [
|
|
2399
|
+
"_meta_type"
|
|
2400
|
+
]
|
|
1854
2401
|
},
|
|
1855
2402
|
{
|
|
1856
|
-
"name": "
|
|
2403
|
+
"name": "profile_metafields_tenant_id_created_at_idx",
|
|
1857
2404
|
"columns": [
|
|
2405
|
+
"tenant_id",
|
|
1858
2406
|
"created_at"
|
|
1859
2407
|
]
|
|
1860
2408
|
}
|
|
1861
2409
|
],
|
|
1862
|
-
"version": "
|
|
2410
|
+
"version": "afe420df"
|
|
1863
2411
|
}
|
|
1864
2412
|
},
|
|
1865
2413
|
"@happyvertical/smrt-profiles:ProfileRelationshipCollection": {
|
|
@@ -1959,8 +2507,8 @@
|
|
|
1959
2507
|
"exportName": "ProfileRelationshipCollection",
|
|
1960
2508
|
"collectionExportName": "ProfileRelationshipCollectionCollection",
|
|
1961
2509
|
"schema": {
|
|
1962
|
-
"tableName": "
|
|
1963
|
-
"ddl": "CREATE TABLE IF NOT EXISTS \"
|
|
2510
|
+
"tableName": "profile_relationships",
|
|
2511
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"profile_relationships\" (\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"_meta_type\" TEXT NOT NULL,\n \"_meta_data\" JSON,\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID,\n \"from_profile_id\" UUID,\n \"to_profile_id\" UUID,\n \"type_id\" UUID,\n \"context_profile_id\" UUID\n);",
|
|
1964
2512
|
"columns": {
|
|
1965
2513
|
"id": {
|
|
1966
2514
|
"type": "UUID",
|
|
@@ -1977,6 +2525,14 @@
|
|
|
1977
2525
|
"notNull": true,
|
|
1978
2526
|
"default": ""
|
|
1979
2527
|
},
|
|
2528
|
+
"_meta_type": {
|
|
2529
|
+
"type": "TEXT",
|
|
2530
|
+
"notNull": true
|
|
2531
|
+
},
|
|
2532
|
+
"_meta_data": {
|
|
2533
|
+
"type": "JSON",
|
|
2534
|
+
"notNull": false
|
|
2535
|
+
},
|
|
1980
2536
|
"created_at": {
|
|
1981
2537
|
"type": "TIMESTAMP",
|
|
1982
2538
|
"notNull": true,
|
|
@@ -1986,25 +2542,108 @@
|
|
|
1986
2542
|
"type": "TIMESTAMP",
|
|
1987
2543
|
"notNull": true,
|
|
1988
2544
|
"default": "current_timestamp"
|
|
2545
|
+
},
|
|
2546
|
+
"tenant_id": {
|
|
2547
|
+
"type": "UUID",
|
|
2548
|
+
"referenceKind": "tenantId",
|
|
2549
|
+
"notNull": false
|
|
2550
|
+
},
|
|
2551
|
+
"from_profile_id": {
|
|
2552
|
+
"type": "UUID",
|
|
2553
|
+
"referenceKind": "foreignKey",
|
|
2554
|
+
"notNull": false,
|
|
2555
|
+
"foreignKey": {
|
|
2556
|
+
"table": "profiles",
|
|
2557
|
+
"column": "id",
|
|
2558
|
+
"onDelete": "NO ACTION",
|
|
2559
|
+
"onUpdate": "CASCADE"
|
|
2560
|
+
}
|
|
2561
|
+
},
|
|
2562
|
+
"to_profile_id": {
|
|
2563
|
+
"type": "UUID",
|
|
2564
|
+
"referenceKind": "foreignKey",
|
|
2565
|
+
"notNull": false,
|
|
2566
|
+
"foreignKey": {
|
|
2567
|
+
"table": "profiles",
|
|
2568
|
+
"column": "id",
|
|
2569
|
+
"onDelete": "NO ACTION",
|
|
2570
|
+
"onUpdate": "CASCADE"
|
|
2571
|
+
}
|
|
2572
|
+
},
|
|
2573
|
+
"type_id": {
|
|
2574
|
+
"type": "UUID",
|
|
2575
|
+
"referenceKind": "foreignKey",
|
|
2576
|
+
"notNull": false,
|
|
2577
|
+
"foreignKey": {
|
|
2578
|
+
"table": "profile_relationship_types",
|
|
2579
|
+
"column": "id",
|
|
2580
|
+
"onDelete": "NO ACTION",
|
|
2581
|
+
"onUpdate": "CASCADE"
|
|
2582
|
+
}
|
|
2583
|
+
},
|
|
2584
|
+
"context_profile_id": {
|
|
2585
|
+
"type": "UUID",
|
|
2586
|
+
"referenceKind": "foreignKey",
|
|
2587
|
+
"notNull": false,
|
|
2588
|
+
"foreignKey": {
|
|
2589
|
+
"table": "profiles",
|
|
2590
|
+
"column": "id",
|
|
2591
|
+
"onDelete": "NO ACTION",
|
|
2592
|
+
"onUpdate": "CASCADE"
|
|
2593
|
+
}
|
|
1989
2594
|
}
|
|
1990
2595
|
},
|
|
1991
2596
|
"indexes": [
|
|
1992
2597
|
{
|
|
1993
|
-
"name": "
|
|
2598
|
+
"name": "profile_relationships_slug_context_meta_type_idx",
|
|
1994
2599
|
"columns": [
|
|
2600
|
+
"tenant_id",
|
|
1995
2601
|
"slug",
|
|
1996
|
-
"context"
|
|
2602
|
+
"context",
|
|
2603
|
+
"_meta_type"
|
|
1997
2604
|
],
|
|
1998
|
-
"unique": true
|
|
2605
|
+
"unique": true,
|
|
2606
|
+
"nullsNotDistinct": true
|
|
2607
|
+
},
|
|
2608
|
+
{
|
|
2609
|
+
"name": "profile_relationships_meta_type_idx",
|
|
2610
|
+
"columns": [
|
|
2611
|
+
"_meta_type"
|
|
2612
|
+
]
|
|
1999
2613
|
},
|
|
2000
2614
|
{
|
|
2001
|
-
"name": "
|
|
2615
|
+
"name": "profile_relationships_tenant_id_created_at_idx",
|
|
2002
2616
|
"columns": [
|
|
2617
|
+
"tenant_id",
|
|
2003
2618
|
"created_at"
|
|
2004
2619
|
]
|
|
2620
|
+
},
|
|
2621
|
+
{
|
|
2622
|
+
"name": "profile_relationships_from_profile_id_idx",
|
|
2623
|
+
"columns": [
|
|
2624
|
+
"from_profile_id"
|
|
2625
|
+
]
|
|
2626
|
+
},
|
|
2627
|
+
{
|
|
2628
|
+
"name": "profile_relationships_to_profile_id_idx",
|
|
2629
|
+
"columns": [
|
|
2630
|
+
"to_profile_id"
|
|
2631
|
+
]
|
|
2632
|
+
},
|
|
2633
|
+
{
|
|
2634
|
+
"name": "profile_relationships_type_id_idx",
|
|
2635
|
+
"columns": [
|
|
2636
|
+
"type_id"
|
|
2637
|
+
]
|
|
2638
|
+
},
|
|
2639
|
+
{
|
|
2640
|
+
"name": "profile_relationships_context_profile_id_idx",
|
|
2641
|
+
"columns": [
|
|
2642
|
+
"context_profile_id"
|
|
2643
|
+
]
|
|
2005
2644
|
}
|
|
2006
2645
|
],
|
|
2007
|
-
"version": "
|
|
2646
|
+
"version": "48878dba"
|
|
2008
2647
|
}
|
|
2009
2648
|
},
|
|
2010
2649
|
"@happyvertical/smrt-profiles:ProfileRelationshipTermCollection": {
|
|
@@ -2065,8 +2704,8 @@
|
|
|
2065
2704
|
"exportName": "ProfileRelationshipTermCollection",
|
|
2066
2705
|
"collectionExportName": "ProfileRelationshipTermCollectionCollection",
|
|
2067
2706
|
"schema": {
|
|
2068
|
-
"tableName": "
|
|
2069
|
-
"ddl": "CREATE TABLE IF NOT EXISTS \"
|
|
2707
|
+
"tableName": "profile_relationship_terms",
|
|
2708
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"profile_relationship_terms\" (\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"_meta_type\" TEXT NOT NULL,\n \"_meta_data\" JSON,\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"relationship_id\" UUID,\n \"started_at\" TIMESTAMP,\n \"ended_at\" TIMESTAMP\n);",
|
|
2070
2709
|
"columns": {
|
|
2071
2710
|
"id": {
|
|
2072
2711
|
"type": "UUID",
|
|
@@ -2083,6 +2722,14 @@
|
|
|
2083
2722
|
"notNull": true,
|
|
2084
2723
|
"default": ""
|
|
2085
2724
|
},
|
|
2725
|
+
"_meta_type": {
|
|
2726
|
+
"type": "TEXT",
|
|
2727
|
+
"notNull": true
|
|
2728
|
+
},
|
|
2729
|
+
"_meta_data": {
|
|
2730
|
+
"type": "JSON",
|
|
2731
|
+
"notNull": false
|
|
2732
|
+
},
|
|
2086
2733
|
"created_at": {
|
|
2087
2734
|
"type": "TIMESTAMP",
|
|
2088
2735
|
"notNull": true,
|
|
@@ -2092,25 +2739,57 @@
|
|
|
2092
2739
|
"type": "TIMESTAMP",
|
|
2093
2740
|
"notNull": true,
|
|
2094
2741
|
"default": "current_timestamp"
|
|
2742
|
+
},
|
|
2743
|
+
"relationship_id": {
|
|
2744
|
+
"type": "UUID",
|
|
2745
|
+
"referenceKind": "foreignKey",
|
|
2746
|
+
"notNull": false,
|
|
2747
|
+
"foreignKey": {
|
|
2748
|
+
"table": "profile_relationships",
|
|
2749
|
+
"column": "id",
|
|
2750
|
+
"onDelete": "NO ACTION",
|
|
2751
|
+
"onUpdate": "CASCADE"
|
|
2752
|
+
}
|
|
2753
|
+
},
|
|
2754
|
+
"started_at": {
|
|
2755
|
+
"type": "TIMESTAMP",
|
|
2756
|
+
"notNull": false
|
|
2757
|
+
},
|
|
2758
|
+
"ended_at": {
|
|
2759
|
+
"type": "TIMESTAMP",
|
|
2760
|
+
"notNull": false
|
|
2095
2761
|
}
|
|
2096
2762
|
},
|
|
2097
2763
|
"indexes": [
|
|
2098
2764
|
{
|
|
2099
|
-
"name": "
|
|
2765
|
+
"name": "profile_relationship_terms_slug_context_meta_type_idx",
|
|
2100
2766
|
"columns": [
|
|
2101
2767
|
"slug",
|
|
2102
|
-
"context"
|
|
2768
|
+
"context",
|
|
2769
|
+
"_meta_type"
|
|
2103
2770
|
],
|
|
2104
2771
|
"unique": true
|
|
2105
2772
|
},
|
|
2106
2773
|
{
|
|
2107
|
-
"name": "
|
|
2774
|
+
"name": "profile_relationship_terms_meta_type_idx",
|
|
2775
|
+
"columns": [
|
|
2776
|
+
"_meta_type"
|
|
2777
|
+
]
|
|
2778
|
+
},
|
|
2779
|
+
{
|
|
2780
|
+
"name": "profile_relationship_terms_created_at_idx",
|
|
2108
2781
|
"columns": [
|
|
2109
2782
|
"created_at"
|
|
2110
2783
|
]
|
|
2784
|
+
},
|
|
2785
|
+
{
|
|
2786
|
+
"name": "profile_relationship_terms_relationship_id_idx",
|
|
2787
|
+
"columns": [
|
|
2788
|
+
"relationship_id"
|
|
2789
|
+
]
|
|
2111
2790
|
}
|
|
2112
2791
|
],
|
|
2113
|
-
"version": "
|
|
2792
|
+
"version": "ef299102"
|
|
2114
2793
|
}
|
|
2115
2794
|
},
|
|
2116
2795
|
"@happyvertical/smrt-profiles:ProfileRelationshipTypeCollection": {
|
|
@@ -2182,8 +2861,8 @@
|
|
|
2182
2861
|
"exportName": "ProfileRelationshipTypeCollection",
|
|
2183
2862
|
"collectionExportName": "ProfileRelationshipTypeCollectionCollection",
|
|
2184
2863
|
"schema": {
|
|
2185
|
-
"tableName": "
|
|
2186
|
-
"ddl": "CREATE TABLE IF NOT EXISTS \"
|
|
2864
|
+
"tableName": "profile_relationship_types",
|
|
2865
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"profile_relationship_types\" (\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"_meta_type\" TEXT NOT NULL,\n \"_meta_data\" JSON,\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"name\" TEXT DEFAULT '',\n \"reciprocal\" BOOLEAN DEFAULT TRUE\n);",
|
|
2187
2866
|
"columns": {
|
|
2188
2867
|
"id": {
|
|
2189
2868
|
"type": "UUID",
|
|
@@ -2200,6 +2879,14 @@
|
|
|
2200
2879
|
"notNull": true,
|
|
2201
2880
|
"default": ""
|
|
2202
2881
|
},
|
|
2882
|
+
"_meta_type": {
|
|
2883
|
+
"type": "TEXT",
|
|
2884
|
+
"notNull": true
|
|
2885
|
+
},
|
|
2886
|
+
"_meta_data": {
|
|
2887
|
+
"type": "JSON",
|
|
2888
|
+
"notNull": false
|
|
2889
|
+
},
|
|
2203
2890
|
"created_at": {
|
|
2204
2891
|
"type": "TIMESTAMP",
|
|
2205
2892
|
"notNull": true,
|
|
@@ -2209,25 +2896,42 @@
|
|
|
2209
2896
|
"type": "TIMESTAMP",
|
|
2210
2897
|
"notNull": true,
|
|
2211
2898
|
"default": "current_timestamp"
|
|
2899
|
+
},
|
|
2900
|
+
"name": {
|
|
2901
|
+
"type": "TEXT",
|
|
2902
|
+
"notNull": false,
|
|
2903
|
+
"default": ""
|
|
2904
|
+
},
|
|
2905
|
+
"reciprocal": {
|
|
2906
|
+
"type": "BOOLEAN",
|
|
2907
|
+
"notNull": false,
|
|
2908
|
+
"default": true
|
|
2212
2909
|
}
|
|
2213
2910
|
},
|
|
2214
2911
|
"indexes": [
|
|
2215
2912
|
{
|
|
2216
|
-
"name": "
|
|
2913
|
+
"name": "profile_relationship_types_slug_context_meta_type_idx",
|
|
2217
2914
|
"columns": [
|
|
2218
2915
|
"slug",
|
|
2219
|
-
"context"
|
|
2916
|
+
"context",
|
|
2917
|
+
"_meta_type"
|
|
2220
2918
|
],
|
|
2221
2919
|
"unique": true
|
|
2222
2920
|
},
|
|
2223
2921
|
{
|
|
2224
|
-
"name": "
|
|
2922
|
+
"name": "profile_relationship_types_meta_type_idx",
|
|
2923
|
+
"columns": [
|
|
2924
|
+
"_meta_type"
|
|
2925
|
+
]
|
|
2926
|
+
},
|
|
2927
|
+
{
|
|
2928
|
+
"name": "profile_relationship_types_created_at_idx",
|
|
2225
2929
|
"columns": [
|
|
2226
2930
|
"created_at"
|
|
2227
2931
|
]
|
|
2228
2932
|
}
|
|
2229
2933
|
],
|
|
2230
|
-
"version": "
|
|
2934
|
+
"version": "719fe0d9"
|
|
2231
2935
|
}
|
|
2232
2936
|
},
|
|
2233
2937
|
"@happyvertical/smrt-profiles:ProfileTypeCollection": {
|
|
@@ -2304,8 +3008,8 @@
|
|
|
2304
3008
|
"exportName": "ProfileTypeCollection",
|
|
2305
3009
|
"collectionExportName": "ProfileTypeCollectionCollection",
|
|
2306
3010
|
"schema": {
|
|
2307
|
-
"tableName": "
|
|
2308
|
-
"ddl": "CREATE TABLE IF NOT EXISTS \"
|
|
3011
|
+
"tableName": "profile_types",
|
|
3012
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"profile_types\" (\n \"id\" UUID PRIMARY KEY NOT NULL,\n \"slug\" TEXT NOT NULL,\n \"context\" TEXT NOT NULL DEFAULT '',\n \"_meta_type\" TEXT NOT NULL,\n \"_meta_data\" JSON,\n \"created_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"updated_at\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\n \"tenant_id\" UUID,\n \"name\" TEXT DEFAULT '',\n \"description\" TEXT\n);",
|
|
2309
3013
|
"columns": {
|
|
2310
3014
|
"id": {
|
|
2311
3015
|
"type": "UUID",
|
|
@@ -2322,6 +3026,14 @@
|
|
|
2322
3026
|
"notNull": true,
|
|
2323
3027
|
"default": ""
|
|
2324
3028
|
},
|
|
3029
|
+
"_meta_type": {
|
|
3030
|
+
"type": "TEXT",
|
|
3031
|
+
"notNull": true
|
|
3032
|
+
},
|
|
3033
|
+
"_meta_data": {
|
|
3034
|
+
"type": "JSON",
|
|
3035
|
+
"notNull": false
|
|
3036
|
+
},
|
|
2325
3037
|
"created_at": {
|
|
2326
3038
|
"type": "TIMESTAMP",
|
|
2327
3039
|
"notNull": true,
|
|
@@ -2331,25 +3043,49 @@
|
|
|
2331
3043
|
"type": "TIMESTAMP",
|
|
2332
3044
|
"notNull": true,
|
|
2333
3045
|
"default": "current_timestamp"
|
|
3046
|
+
},
|
|
3047
|
+
"tenant_id": {
|
|
3048
|
+
"type": "UUID",
|
|
3049
|
+
"referenceKind": "tenantId",
|
|
3050
|
+
"notNull": false
|
|
3051
|
+
},
|
|
3052
|
+
"name": {
|
|
3053
|
+
"type": "TEXT",
|
|
3054
|
+
"notNull": false,
|
|
3055
|
+
"default": ""
|
|
3056
|
+
},
|
|
3057
|
+
"description": {
|
|
3058
|
+
"type": "TEXT",
|
|
3059
|
+
"notNull": false
|
|
2334
3060
|
}
|
|
2335
3061
|
},
|
|
2336
3062
|
"indexes": [
|
|
2337
3063
|
{
|
|
2338
|
-
"name": "
|
|
3064
|
+
"name": "profile_types_slug_context_meta_type_idx",
|
|
2339
3065
|
"columns": [
|
|
3066
|
+
"tenant_id",
|
|
2340
3067
|
"slug",
|
|
2341
|
-
"context"
|
|
3068
|
+
"context",
|
|
3069
|
+
"_meta_type"
|
|
2342
3070
|
],
|
|
2343
|
-
"unique": true
|
|
3071
|
+
"unique": true,
|
|
3072
|
+
"nullsNotDistinct": true
|
|
3073
|
+
},
|
|
3074
|
+
{
|
|
3075
|
+
"name": "profile_types_meta_type_idx",
|
|
3076
|
+
"columns": [
|
|
3077
|
+
"_meta_type"
|
|
3078
|
+
]
|
|
2344
3079
|
},
|
|
2345
3080
|
{
|
|
2346
|
-
"name": "
|
|
3081
|
+
"name": "profile_types_tenant_id_created_at_idx",
|
|
2347
3082
|
"columns": [
|
|
3083
|
+
"tenant_id",
|
|
2348
3084
|
"created_at"
|
|
2349
3085
|
]
|
|
2350
3086
|
}
|
|
2351
3087
|
],
|
|
2352
|
-
"version": "
|
|
3088
|
+
"version": "0fb37aeb"
|
|
2353
3089
|
}
|
|
2354
3090
|
},
|
|
2355
3091
|
"@happyvertical/smrt-profiles:ApiKey": {
|
|
@@ -2902,7 +3638,8 @@
|
|
|
2902
3638
|
"slug",
|
|
2903
3639
|
"context"
|
|
2904
3640
|
],
|
|
2905
|
-
"unique": true
|
|
3641
|
+
"unique": true,
|
|
3642
|
+
"nullsNotDistinct": true
|
|
2906
3643
|
},
|
|
2907
3644
|
{
|
|
2908
3645
|
"name": "audit_logs_tenant_id_created_at_idx",
|
|
@@ -4610,7 +5347,8 @@
|
|
|
4610
5347
|
"context",
|
|
4611
5348
|
"_meta_type"
|
|
4612
5349
|
],
|
|
4613
|
-
"unique": true
|
|
5350
|
+
"unique": true,
|
|
5351
|
+
"nullsNotDistinct": true
|
|
4614
5352
|
},
|
|
4615
5353
|
{
|
|
4616
5354
|
"name": "profiles_meta_type_idx",
|
|
@@ -5038,7 +5776,8 @@
|
|
|
5038
5776
|
"context",
|
|
5039
5777
|
"_meta_type"
|
|
5040
5778
|
],
|
|
5041
|
-
"unique": true
|
|
5779
|
+
"unique": true,
|
|
5780
|
+
"nullsNotDistinct": true
|
|
5042
5781
|
},
|
|
5043
5782
|
{
|
|
5044
5783
|
"name": "profile_metadata_meta_type_idx",
|
|
@@ -5287,7 +6026,8 @@
|
|
|
5287
6026
|
"context",
|
|
5288
6027
|
"_meta_type"
|
|
5289
6028
|
],
|
|
5290
|
-
"unique": true
|
|
6029
|
+
"unique": true,
|
|
6030
|
+
"nullsNotDistinct": true
|
|
5291
6031
|
},
|
|
5292
6032
|
{
|
|
5293
6033
|
"name": "profile_metafields_meta_type_idx",
|
|
@@ -5579,7 +6319,8 @@
|
|
|
5579
6319
|
"context",
|
|
5580
6320
|
"_meta_type"
|
|
5581
6321
|
],
|
|
5582
|
-
"unique": true
|
|
6322
|
+
"unique": true,
|
|
6323
|
+
"nullsNotDistinct": true
|
|
5583
6324
|
},
|
|
5584
6325
|
{
|
|
5585
6326
|
"name": "profile_relationships_meta_type_idx",
|
|
@@ -6175,7 +6916,8 @@
|
|
|
6175
6916
|
"context",
|
|
6176
6917
|
"_meta_type"
|
|
6177
6918
|
],
|
|
6178
|
-
"unique": true
|
|
6919
|
+
"unique": true,
|
|
6920
|
+
"nullsNotDistinct": true
|
|
6179
6921
|
},
|
|
6180
6922
|
{
|
|
6181
6923
|
"name": "profile_types_meta_type_idx",
|
|
@@ -6807,7 +7549,8 @@
|
|
|
6807
7549
|
"context",
|
|
6808
7550
|
"_meta_type"
|
|
6809
7551
|
],
|
|
6810
|
-
"unique": true
|
|
7552
|
+
"unique": true,
|
|
7553
|
+
"nullsNotDistinct": true
|
|
6811
7554
|
},
|
|
6812
7555
|
{
|
|
6813
7556
|
"name": "profiles_meta_type_idx",
|
|
@@ -7451,7 +8194,8 @@
|
|
|
7451
8194
|
"context",
|
|
7452
8195
|
"_meta_type"
|
|
7453
8196
|
],
|
|
7454
|
-
"unique": true
|
|
8197
|
+
"unique": true,
|
|
8198
|
+
"nullsNotDistinct": true
|
|
7455
8199
|
},
|
|
7456
8200
|
{
|
|
7457
8201
|
"name": "profiles_meta_type_idx",
|
|
@@ -8095,7 +8839,8 @@
|
|
|
8095
8839
|
"context",
|
|
8096
8840
|
"_meta_type"
|
|
8097
8841
|
],
|
|
8098
|
-
"unique": true
|
|
8842
|
+
"unique": true,
|
|
8843
|
+
"nullsNotDistinct": true
|
|
8099
8844
|
},
|
|
8100
8845
|
{
|
|
8101
8846
|
"name": "profiles_meta_type_idx",
|