@happyvertical/smrt-profiles 0.60.9 → 0.60.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/manifest.json +265 -67
- package/dist/smrt-knowledge.json +3 -3
- package/dist/smrt-knowledge.okf.md +129 -0
- package/package.json +11 -11
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.60.
|
|
5
|
+
"packageVersion": "0.60.11",
|
|
6
6
|
"objects": {
|
|
7
7
|
"@happyvertical/smrt-profiles:ApiKeyCollection": {
|
|
8
8
|
"name": "apikeycollection",
|
|
@@ -165,8 +165,14 @@
|
|
|
165
165
|
],
|
|
166
166
|
"schema": {
|
|
167
167
|
"tableName": "api_keys",
|
|
168
|
-
"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);",
|
|
168
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"api_keys\" (\n \"_sync_origin_device_id\" TEXT,\n \"_sync_revision\" INTEGER,\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);",
|
|
169
169
|
"columns": {
|
|
170
|
+
"_sync_origin_device_id": {
|
|
171
|
+
"type": "TEXT"
|
|
172
|
+
},
|
|
173
|
+
"_sync_revision": {
|
|
174
|
+
"type": "INTEGER"
|
|
175
|
+
},
|
|
170
176
|
"id": {
|
|
171
177
|
"type": "UUID",
|
|
172
178
|
"primaryKey": true,
|
|
@@ -272,7 +278,7 @@
|
|
|
272
278
|
]
|
|
273
279
|
}
|
|
274
280
|
],
|
|
275
|
-
"version": "
|
|
281
|
+
"version": "755ad4c6"
|
|
276
282
|
},
|
|
277
283
|
"importPath": "@happyvertical/smrt-profiles"
|
|
278
284
|
},
|
|
@@ -439,8 +445,14 @@
|
|
|
439
445
|
],
|
|
440
446
|
"schema": {
|
|
441
447
|
"tableName": "audit_logs",
|
|
442
|
-
"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 \"reason\" TEXT DEFAULT '',\n \"changes\" JSON DEFAULT '{}',\n \"resource_type\" TEXT DEFAULT '',\n \"resource_id\" TEXT DEFAULT '',\n \"occurred_at\" TIMESTAMP DEFAULT current_timestamp,\n \"source\" TEXT DEFAULT 'web',\n \"metadata\" JSON DEFAULT '{}',\n \"on_behalf_of_id\" UUID\n);",
|
|
448
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"audit_logs\" (\n \"_sync_origin_device_id\" TEXT,\n \"_sync_revision\" INTEGER,\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 \"reason\" TEXT DEFAULT '',\n \"changes\" JSON DEFAULT '{}',\n \"resource_type\" TEXT DEFAULT '',\n \"resource_id\" TEXT DEFAULT '',\n \"occurred_at\" TIMESTAMP DEFAULT current_timestamp,\n \"source\" TEXT DEFAULT 'web',\n \"metadata\" JSON DEFAULT '{}',\n \"on_behalf_of_id\" UUID\n);",
|
|
443
449
|
"columns": {
|
|
450
|
+
"_sync_origin_device_id": {
|
|
451
|
+
"type": "TEXT"
|
|
452
|
+
},
|
|
453
|
+
"_sync_revision": {
|
|
454
|
+
"type": "INTEGER"
|
|
455
|
+
},
|
|
444
456
|
"id": {
|
|
445
457
|
"type": "UUID",
|
|
446
458
|
"primaryKey": true,
|
|
@@ -594,7 +606,7 @@
|
|
|
594
606
|
]
|
|
595
607
|
}
|
|
596
608
|
],
|
|
597
|
-
"version": "
|
|
609
|
+
"version": "fdd88969"
|
|
598
610
|
},
|
|
599
611
|
"importPath": "@happyvertical/smrt-profiles"
|
|
600
612
|
},
|
|
@@ -791,8 +803,14 @@
|
|
|
791
803
|
],
|
|
792
804
|
"schema": {
|
|
793
805
|
"tableName": "magic_link_tokens",
|
|
794
|
-
"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);",
|
|
806
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"magic_link_tokens\" (\n \"_sync_origin_device_id\" TEXT,\n \"_sync_revision\" INTEGER,\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);",
|
|
795
807
|
"columns": {
|
|
808
|
+
"_sync_origin_device_id": {
|
|
809
|
+
"type": "TEXT"
|
|
810
|
+
},
|
|
811
|
+
"_sync_revision": {
|
|
812
|
+
"type": "INTEGER"
|
|
813
|
+
},
|
|
796
814
|
"id": {
|
|
797
815
|
"type": "UUID",
|
|
798
816
|
"primaryKey": true,
|
|
@@ -887,7 +905,7 @@
|
|
|
887
905
|
]
|
|
888
906
|
}
|
|
889
907
|
],
|
|
890
|
-
"version": "
|
|
908
|
+
"version": "50f2a845"
|
|
891
909
|
},
|
|
892
910
|
"importPath": "@happyvertical/smrt-profiles"
|
|
893
911
|
},
|
|
@@ -1107,8 +1125,14 @@
|
|
|
1107
1125
|
],
|
|
1108
1126
|
"schema": {
|
|
1109
1127
|
"tableName": "nostr_identities",
|
|
1110
|
-
"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);",
|
|
1128
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"nostr_identities\" (\n \"_sync_origin_device_id\" TEXT,\n \"_sync_revision\" INTEGER,\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);",
|
|
1111
1129
|
"columns": {
|
|
1130
|
+
"_sync_origin_device_id": {
|
|
1131
|
+
"type": "TEXT"
|
|
1132
|
+
},
|
|
1133
|
+
"_sync_revision": {
|
|
1134
|
+
"type": "INTEGER"
|
|
1135
|
+
},
|
|
1112
1136
|
"id": {
|
|
1113
1137
|
"type": "UUID",
|
|
1114
1138
|
"primaryKey": true,
|
|
@@ -1221,7 +1245,7 @@
|
|
|
1221
1245
|
]
|
|
1222
1246
|
}
|
|
1223
1247
|
],
|
|
1224
|
-
"version": "
|
|
1248
|
+
"version": "925bb86c"
|
|
1225
1249
|
},
|
|
1226
1250
|
"importPath": "@happyvertical/smrt-profiles"
|
|
1227
1251
|
},
|
|
@@ -1361,8 +1385,14 @@
|
|
|
1361
1385
|
],
|
|
1362
1386
|
"schema": {
|
|
1363
1387
|
"tableName": "oidc_identities",
|
|
1364
|
-
"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);",
|
|
1388
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"oidc_identities\" (\n \"_sync_origin_device_id\" TEXT,\n \"_sync_revision\" INTEGER,\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);",
|
|
1365
1389
|
"columns": {
|
|
1390
|
+
"_sync_origin_device_id": {
|
|
1391
|
+
"type": "TEXT"
|
|
1392
|
+
},
|
|
1393
|
+
"_sync_revision": {
|
|
1394
|
+
"type": "INTEGER"
|
|
1395
|
+
},
|
|
1366
1396
|
"id": {
|
|
1367
1397
|
"type": "UUID",
|
|
1368
1398
|
"primaryKey": true,
|
|
@@ -1465,7 +1495,7 @@
|
|
|
1465
1495
|
]
|
|
1466
1496
|
}
|
|
1467
1497
|
],
|
|
1468
|
-
"version": "
|
|
1498
|
+
"version": "d5516503"
|
|
1469
1499
|
},
|
|
1470
1500
|
"importPath": "@happyvertical/smrt-profiles"
|
|
1471
1501
|
},
|
|
@@ -1497,8 +1527,14 @@
|
|
|
1497
1527
|
],
|
|
1498
1528
|
"schema": {
|
|
1499
1529
|
"tableName": "oidc_profile_email_reservations",
|
|
1500
|
-
"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);",
|
|
1530
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"oidc_profile_email_reservations\" (\n \"_sync_origin_device_id\" TEXT,\n \"_sync_revision\" INTEGER,\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);",
|
|
1501
1531
|
"columns": {
|
|
1532
|
+
"_sync_origin_device_id": {
|
|
1533
|
+
"type": "TEXT"
|
|
1534
|
+
},
|
|
1535
|
+
"_sync_revision": {
|
|
1536
|
+
"type": "INTEGER"
|
|
1537
|
+
},
|
|
1502
1538
|
"id": {
|
|
1503
1539
|
"type": "UUID",
|
|
1504
1540
|
"primaryKey": true,
|
|
@@ -1558,7 +1594,7 @@
|
|
|
1558
1594
|
]
|
|
1559
1595
|
}
|
|
1560
1596
|
],
|
|
1561
|
-
"version": "
|
|
1597
|
+
"version": "425d67ae"
|
|
1562
1598
|
},
|
|
1563
1599
|
"importPath": "@happyvertical/smrt-profiles"
|
|
1564
1600
|
},
|
|
@@ -1770,8 +1806,14 @@
|
|
|
1770
1806
|
"collectionOf": "@happyvertical/smrt-profiles:ProfileAsset",
|
|
1771
1807
|
"schema": {
|
|
1772
1808
|
"tableName": "profile_assets",
|
|
1773
|
-
"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);",
|
|
1809
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"profile_assets\" (\n \"_sync_origin_device_id\" TEXT,\n \"_sync_revision\" INTEGER,\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);",
|
|
1774
1810
|
"columns": {
|
|
1811
|
+
"_sync_origin_device_id": {
|
|
1812
|
+
"type": "TEXT"
|
|
1813
|
+
},
|
|
1814
|
+
"_sync_revision": {
|
|
1815
|
+
"type": "INTEGER"
|
|
1816
|
+
},
|
|
1775
1817
|
"id": {
|
|
1776
1818
|
"type": "UUID",
|
|
1777
1819
|
"primaryKey": true,
|
|
@@ -1864,7 +1906,7 @@
|
|
|
1864
1906
|
]
|
|
1865
1907
|
}
|
|
1866
1908
|
],
|
|
1867
|
-
"version": "
|
|
1909
|
+
"version": "86c00d61"
|
|
1868
1910
|
},
|
|
1869
1911
|
"importPath": "@happyvertical/smrt-profiles"
|
|
1870
1912
|
},
|
|
@@ -2170,8 +2212,14 @@
|
|
|
2170
2212
|
],
|
|
2171
2213
|
"schema": {
|
|
2172
2214
|
"tableName": "profiles",
|
|
2173
|
-
"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 \"is_public\" BOOLEAN DEFAULT FALSE\n);",
|
|
2215
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"profiles\" (\n \"_sync_origin_device_id\" TEXT,\n \"_sync_revision\" INTEGER,\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 \"is_public\" BOOLEAN DEFAULT FALSE\n);",
|
|
2174
2216
|
"columns": {
|
|
2217
|
+
"_sync_origin_device_id": {
|
|
2218
|
+
"type": "TEXT"
|
|
2219
|
+
},
|
|
2220
|
+
"_sync_revision": {
|
|
2221
|
+
"type": "INTEGER"
|
|
2222
|
+
},
|
|
2175
2223
|
"id": {
|
|
2176
2224
|
"type": "UUID",
|
|
2177
2225
|
"primaryKey": true,
|
|
@@ -2282,7 +2330,7 @@
|
|
|
2282
2330
|
]
|
|
2283
2331
|
}
|
|
2284
2332
|
],
|
|
2285
|
-
"version": "
|
|
2333
|
+
"version": "c8216570"
|
|
2286
2334
|
},
|
|
2287
2335
|
"importPath": "@happyvertical/smrt-profiles"
|
|
2288
2336
|
},
|
|
@@ -2368,8 +2416,14 @@
|
|
|
2368
2416
|
],
|
|
2369
2417
|
"schema": {
|
|
2370
2418
|
"tableName": "profile_links",
|
|
2371
|
-
"ddl": "CREATE TABLE IF NOT EXISTS \"profile_links\" (\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 \"platform\" TEXT NOT NULL DEFAULT 'website',\n \"url\" TEXT NOT NULL,\n \"label\" TEXT,\n \"sort_order\" INTEGER NOT NULL DEFAULT 0\n);",
|
|
2419
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"profile_links\" (\n \"_sync_origin_device_id\" TEXT,\n \"_sync_revision\" INTEGER,\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 \"platform\" TEXT NOT NULL DEFAULT 'website',\n \"url\" TEXT NOT NULL,\n \"label\" TEXT,\n \"sort_order\" INTEGER NOT NULL DEFAULT 0\n);",
|
|
2372
2420
|
"columns": {
|
|
2421
|
+
"_sync_origin_device_id": {
|
|
2422
|
+
"type": "TEXT"
|
|
2423
|
+
},
|
|
2424
|
+
"_sync_revision": {
|
|
2425
|
+
"type": "INTEGER"
|
|
2426
|
+
},
|
|
2373
2427
|
"id": {
|
|
2374
2428
|
"type": "UUID",
|
|
2375
2429
|
"primaryKey": true,
|
|
@@ -2461,7 +2515,7 @@
|
|
|
2461
2515
|
]
|
|
2462
2516
|
}
|
|
2463
2517
|
],
|
|
2464
|
-
"version": "
|
|
2518
|
+
"version": "bf0b368b"
|
|
2465
2519
|
},
|
|
2466
2520
|
"importPath": "@happyvertical/smrt-profiles"
|
|
2467
2521
|
},
|
|
@@ -2550,8 +2604,14 @@
|
|
|
2550
2604
|
],
|
|
2551
2605
|
"schema": {
|
|
2552
2606
|
"tableName": "profile_metadata",
|
|
2553
|
-
"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);",
|
|
2607
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"profile_metadata\" (\n \"_sync_origin_device_id\" TEXT,\n \"_sync_revision\" INTEGER,\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);",
|
|
2554
2608
|
"columns": {
|
|
2609
|
+
"_sync_origin_device_id": {
|
|
2610
|
+
"type": "TEXT"
|
|
2611
|
+
},
|
|
2612
|
+
"_sync_revision": {
|
|
2613
|
+
"type": "INTEGER"
|
|
2614
|
+
},
|
|
2555
2615
|
"id": {
|
|
2556
2616
|
"type": "UUID",
|
|
2557
2617
|
"primaryKey": true,
|
|
@@ -2656,7 +2716,7 @@
|
|
|
2656
2716
|
]
|
|
2657
2717
|
}
|
|
2658
2718
|
],
|
|
2659
|
-
"version": "
|
|
2719
|
+
"version": "fdb0f02d"
|
|
2660
2720
|
},
|
|
2661
2721
|
"importPath": "@happyvertical/smrt-profiles"
|
|
2662
2722
|
},
|
|
@@ -2734,8 +2794,14 @@
|
|
|
2734
2794
|
],
|
|
2735
2795
|
"schema": {
|
|
2736
2796
|
"tableName": "profile_metafields",
|
|
2737
|
-
"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);",
|
|
2797
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"profile_metafields\" (\n \"_sync_origin_device_id\" TEXT,\n \"_sync_revision\" INTEGER,\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);",
|
|
2738
2798
|
"columns": {
|
|
2799
|
+
"_sync_origin_device_id": {
|
|
2800
|
+
"type": "TEXT"
|
|
2801
|
+
},
|
|
2802
|
+
"_sync_revision": {
|
|
2803
|
+
"type": "INTEGER"
|
|
2804
|
+
},
|
|
2739
2805
|
"id": {
|
|
2740
2806
|
"type": "UUID",
|
|
2741
2807
|
"primaryKey": true,
|
|
@@ -2814,7 +2880,7 @@
|
|
|
2814
2880
|
]
|
|
2815
2881
|
}
|
|
2816
2882
|
],
|
|
2817
|
-
"version": "
|
|
2883
|
+
"version": "6de23b1a"
|
|
2818
2884
|
},
|
|
2819
2885
|
"importPath": "@happyvertical/smrt-profiles"
|
|
2820
2886
|
},
|
|
@@ -2936,8 +3002,14 @@
|
|
|
2936
3002
|
],
|
|
2937
3003
|
"schema": {
|
|
2938
3004
|
"tableName": "profile_relationships",
|
|
2939
|
-
"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);",
|
|
3005
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"profile_relationships\" (\n \"_sync_origin_device_id\" TEXT,\n \"_sync_revision\" INTEGER,\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);",
|
|
2940
3006
|
"columns": {
|
|
3007
|
+
"_sync_origin_device_id": {
|
|
3008
|
+
"type": "TEXT"
|
|
3009
|
+
},
|
|
3010
|
+
"_sync_revision": {
|
|
3011
|
+
"type": "INTEGER"
|
|
3012
|
+
},
|
|
2941
3013
|
"id": {
|
|
2942
3014
|
"type": "UUID",
|
|
2943
3015
|
"primaryKey": true,
|
|
@@ -3071,7 +3143,7 @@
|
|
|
3071
3143
|
]
|
|
3072
3144
|
}
|
|
3073
3145
|
],
|
|
3074
|
-
"version": "
|
|
3146
|
+
"version": "633f2a58"
|
|
3075
3147
|
},
|
|
3076
3148
|
"importPath": "@happyvertical/smrt-profiles"
|
|
3077
3149
|
},
|
|
@@ -3155,8 +3227,14 @@
|
|
|
3155
3227
|
],
|
|
3156
3228
|
"schema": {
|
|
3157
3229
|
"tableName": "profile_relationship_terms",
|
|
3158
|
-
"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);",
|
|
3230
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"profile_relationship_terms\" (\n \"_sync_origin_device_id\" TEXT,\n \"_sync_revision\" INTEGER,\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);",
|
|
3159
3231
|
"columns": {
|
|
3232
|
+
"_sync_origin_device_id": {
|
|
3233
|
+
"type": "TEXT"
|
|
3234
|
+
},
|
|
3235
|
+
"_sync_revision": {
|
|
3236
|
+
"type": "INTEGER"
|
|
3237
|
+
},
|
|
3160
3238
|
"id": {
|
|
3161
3239
|
"type": "UUID",
|
|
3162
3240
|
"primaryKey": true,
|
|
@@ -3239,7 +3317,7 @@
|
|
|
3239
3317
|
]
|
|
3240
3318
|
}
|
|
3241
3319
|
],
|
|
3242
|
-
"version": "
|
|
3320
|
+
"version": "0c52b81b"
|
|
3243
3321
|
},
|
|
3244
3322
|
"importPath": "@happyvertical/smrt-profiles"
|
|
3245
3323
|
},
|
|
@@ -3333,8 +3411,14 @@
|
|
|
3333
3411
|
],
|
|
3334
3412
|
"schema": {
|
|
3335
3413
|
"tableName": "profile_relationship_types",
|
|
3336
|
-
"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);",
|
|
3414
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"profile_relationship_types\" (\n \"_sync_origin_device_id\" TEXT,\n \"_sync_revision\" INTEGER,\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);",
|
|
3337
3415
|
"columns": {
|
|
3416
|
+
"_sync_origin_device_id": {
|
|
3417
|
+
"type": "TEXT"
|
|
3418
|
+
},
|
|
3419
|
+
"_sync_revision": {
|
|
3420
|
+
"type": "INTEGER"
|
|
3421
|
+
},
|
|
3338
3422
|
"id": {
|
|
3339
3423
|
"type": "UUID",
|
|
3340
3424
|
"primaryKey": true,
|
|
@@ -3402,7 +3486,7 @@
|
|
|
3402
3486
|
]
|
|
3403
3487
|
}
|
|
3404
3488
|
],
|
|
3405
|
-
"version": "
|
|
3489
|
+
"version": "686c1b2b"
|
|
3406
3490
|
},
|
|
3407
3491
|
"importPath": "@happyvertical/smrt-profiles"
|
|
3408
3492
|
},
|
|
@@ -3520,8 +3604,14 @@
|
|
|
3520
3604
|
],
|
|
3521
3605
|
"schema": {
|
|
3522
3606
|
"tableName": "profile_types",
|
|
3523
|
-
"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);",
|
|
3607
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"profile_types\" (\n \"_sync_origin_device_id\" TEXT,\n \"_sync_revision\" INTEGER,\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);",
|
|
3524
3608
|
"columns": {
|
|
3609
|
+
"_sync_origin_device_id": {
|
|
3610
|
+
"type": "TEXT"
|
|
3611
|
+
},
|
|
3612
|
+
"_sync_revision": {
|
|
3613
|
+
"type": "INTEGER"
|
|
3614
|
+
},
|
|
3525
3615
|
"id": {
|
|
3526
3616
|
"type": "UUID",
|
|
3527
3617
|
"primaryKey": true,
|
|
@@ -3596,7 +3686,7 @@
|
|
|
3596
3686
|
]
|
|
3597
3687
|
}
|
|
3598
3688
|
],
|
|
3599
|
-
"version": "
|
|
3689
|
+
"version": "2f3f9baf"
|
|
3600
3690
|
},
|
|
3601
3691
|
"importPath": "@happyvertical/smrt-profiles"
|
|
3602
3692
|
},
|
|
@@ -3796,8 +3886,14 @@
|
|
|
3796
3886
|
],
|
|
3797
3887
|
"schema": {
|
|
3798
3888
|
"tableName": "api_keys",
|
|
3799
|
-
"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);",
|
|
3889
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"api_keys\" (\n \"_sync_origin_device_id\" TEXT,\n \"_sync_revision\" INTEGER,\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);",
|
|
3800
3890
|
"columns": {
|
|
3891
|
+
"_sync_origin_device_id": {
|
|
3892
|
+
"type": "TEXT"
|
|
3893
|
+
},
|
|
3894
|
+
"_sync_revision": {
|
|
3895
|
+
"type": "INTEGER"
|
|
3896
|
+
},
|
|
3801
3897
|
"id": {
|
|
3802
3898
|
"type": "UUID",
|
|
3803
3899
|
"primaryKey": true,
|
|
@@ -3903,7 +3999,7 @@
|
|
|
3903
3999
|
]
|
|
3904
4000
|
}
|
|
3905
4001
|
],
|
|
3906
|
-
"version": "
|
|
4002
|
+
"version": "755ad4c6"
|
|
3907
4003
|
},
|
|
3908
4004
|
"importPath": "@happyvertical/smrt-profiles"
|
|
3909
4005
|
},
|
|
@@ -4076,8 +4172,14 @@
|
|
|
4076
4172
|
],
|
|
4077
4173
|
"schema": {
|
|
4078
4174
|
"tableName": "audit_logs",
|
|
4079
|
-
"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 \"reason\" TEXT DEFAULT '',\n \"changes\" JSON DEFAULT '{}',\n \"resource_type\" TEXT DEFAULT '',\n \"resource_id\" TEXT DEFAULT '',\n \"occurred_at\" TIMESTAMP DEFAULT current_timestamp,\n \"source\" TEXT DEFAULT 'web',\n \"metadata\" JSON DEFAULT '{}',\n \"on_behalf_of_id\" UUID\n);",
|
|
4175
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"audit_logs\" (\n \"_sync_origin_device_id\" TEXT,\n \"_sync_revision\" INTEGER,\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 \"reason\" TEXT DEFAULT '',\n \"changes\" JSON DEFAULT '{}',\n \"resource_type\" TEXT DEFAULT '',\n \"resource_id\" TEXT DEFAULT '',\n \"occurred_at\" TIMESTAMP DEFAULT current_timestamp,\n \"source\" TEXT DEFAULT 'web',\n \"metadata\" JSON DEFAULT '{}',\n \"on_behalf_of_id\" UUID\n);",
|
|
4080
4176
|
"columns": {
|
|
4177
|
+
"_sync_origin_device_id": {
|
|
4178
|
+
"type": "TEXT"
|
|
4179
|
+
},
|
|
4180
|
+
"_sync_revision": {
|
|
4181
|
+
"type": "INTEGER"
|
|
4182
|
+
},
|
|
4081
4183
|
"id": {
|
|
4082
4184
|
"type": "UUID",
|
|
4083
4185
|
"primaryKey": true,
|
|
@@ -4231,7 +4333,7 @@
|
|
|
4231
4333
|
]
|
|
4232
4334
|
}
|
|
4233
4335
|
],
|
|
4234
|
-
"version": "
|
|
4336
|
+
"version": "fdd88969"
|
|
4235
4337
|
},
|
|
4236
4338
|
"importPath": "@happyvertical/smrt-profiles"
|
|
4237
4339
|
},
|
|
@@ -4424,8 +4526,14 @@
|
|
|
4424
4526
|
],
|
|
4425
4527
|
"schema": {
|
|
4426
4528
|
"tableName": "magic_link_tokens",
|
|
4427
|
-
"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);",
|
|
4529
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"magic_link_tokens\" (\n \"_sync_origin_device_id\" TEXT,\n \"_sync_revision\" INTEGER,\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);",
|
|
4428
4530
|
"columns": {
|
|
4531
|
+
"_sync_origin_device_id": {
|
|
4532
|
+
"type": "TEXT"
|
|
4533
|
+
},
|
|
4534
|
+
"_sync_revision": {
|
|
4535
|
+
"type": "INTEGER"
|
|
4536
|
+
},
|
|
4429
4537
|
"id": {
|
|
4430
4538
|
"type": "UUID",
|
|
4431
4539
|
"primaryKey": true,
|
|
@@ -4520,7 +4628,7 @@
|
|
|
4520
4628
|
]
|
|
4521
4629
|
}
|
|
4522
4630
|
],
|
|
4523
|
-
"version": "
|
|
4631
|
+
"version": "50f2a845"
|
|
4524
4632
|
},
|
|
4525
4633
|
"importPath": "@happyvertical/smrt-profiles"
|
|
4526
4634
|
},
|
|
@@ -4749,8 +4857,14 @@
|
|
|
4749
4857
|
],
|
|
4750
4858
|
"schema": {
|
|
4751
4859
|
"tableName": "nostr_identities",
|
|
4752
|
-
"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);",
|
|
4860
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"nostr_identities\" (\n \"_sync_origin_device_id\" TEXT,\n \"_sync_revision\" INTEGER,\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);",
|
|
4753
4861
|
"columns": {
|
|
4862
|
+
"_sync_origin_device_id": {
|
|
4863
|
+
"type": "TEXT"
|
|
4864
|
+
},
|
|
4865
|
+
"_sync_revision": {
|
|
4866
|
+
"type": "INTEGER"
|
|
4867
|
+
},
|
|
4754
4868
|
"id": {
|
|
4755
4869
|
"type": "UUID",
|
|
4756
4870
|
"primaryKey": true,
|
|
@@ -4863,7 +4977,7 @@
|
|
|
4863
4977
|
]
|
|
4864
4978
|
}
|
|
4865
4979
|
],
|
|
4866
|
-
"version": "
|
|
4980
|
+
"version": "925bb86c"
|
|
4867
4981
|
},
|
|
4868
4982
|
"importPath": "@happyvertical/smrt-profiles"
|
|
4869
4983
|
},
|
|
@@ -5060,8 +5174,14 @@
|
|
|
5060
5174
|
],
|
|
5061
5175
|
"schema": {
|
|
5062
5176
|
"tableName": "oidc_identities",
|
|
5063
|
-
"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);",
|
|
5177
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"oidc_identities\" (\n \"_sync_origin_device_id\" TEXT,\n \"_sync_revision\" INTEGER,\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);",
|
|
5064
5178
|
"columns": {
|
|
5179
|
+
"_sync_origin_device_id": {
|
|
5180
|
+
"type": "TEXT"
|
|
5181
|
+
},
|
|
5182
|
+
"_sync_revision": {
|
|
5183
|
+
"type": "INTEGER"
|
|
5184
|
+
},
|
|
5065
5185
|
"id": {
|
|
5066
5186
|
"type": "UUID",
|
|
5067
5187
|
"primaryKey": true,
|
|
@@ -5164,7 +5284,7 @@
|
|
|
5164
5284
|
]
|
|
5165
5285
|
}
|
|
5166
5286
|
],
|
|
5167
|
-
"version": "
|
|
5287
|
+
"version": "d5516503"
|
|
5168
5288
|
},
|
|
5169
5289
|
"importPath": "@happyvertical/smrt-profiles"
|
|
5170
5290
|
},
|
|
@@ -5221,8 +5341,14 @@
|
|
|
5221
5341
|
],
|
|
5222
5342
|
"schema": {
|
|
5223
5343
|
"tableName": "oidc_profile_email_reservations",
|
|
5224
|
-
"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);",
|
|
5344
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"oidc_profile_email_reservations\" (\n \"_sync_origin_device_id\" TEXT,\n \"_sync_revision\" INTEGER,\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);",
|
|
5225
5345
|
"columns": {
|
|
5346
|
+
"_sync_origin_device_id": {
|
|
5347
|
+
"type": "TEXT"
|
|
5348
|
+
},
|
|
5349
|
+
"_sync_revision": {
|
|
5350
|
+
"type": "INTEGER"
|
|
5351
|
+
},
|
|
5226
5352
|
"id": {
|
|
5227
5353
|
"type": "UUID",
|
|
5228
5354
|
"primaryKey": true,
|
|
@@ -5282,7 +5408,7 @@
|
|
|
5282
5408
|
]
|
|
5283
5409
|
}
|
|
5284
5410
|
],
|
|
5285
|
-
"version": "
|
|
5411
|
+
"version": "425d67ae"
|
|
5286
5412
|
},
|
|
5287
5413
|
"importPath": "@happyvertical/smrt-profiles"
|
|
5288
5414
|
},
|
|
@@ -5891,8 +6017,14 @@
|
|
|
5891
6017
|
],
|
|
5892
6018
|
"schema": {
|
|
5893
6019
|
"tableName": "profiles",
|
|
5894
|
-
"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 \"is_public\" BOOLEAN DEFAULT FALSE\n);",
|
|
6020
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"profiles\" (\n \"_sync_origin_device_id\" TEXT,\n \"_sync_revision\" INTEGER,\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 \"is_public\" BOOLEAN DEFAULT FALSE\n);",
|
|
5895
6021
|
"columns": {
|
|
6022
|
+
"_sync_origin_device_id": {
|
|
6023
|
+
"type": "TEXT"
|
|
6024
|
+
},
|
|
6025
|
+
"_sync_revision": {
|
|
6026
|
+
"type": "INTEGER"
|
|
6027
|
+
},
|
|
5896
6028
|
"id": {
|
|
5897
6029
|
"type": "UUID",
|
|
5898
6030
|
"primaryKey": true,
|
|
@@ -6003,7 +6135,7 @@
|
|
|
6003
6135
|
]
|
|
6004
6136
|
}
|
|
6005
6137
|
],
|
|
6006
|
-
"version": "
|
|
6138
|
+
"version": "c8216570"
|
|
6007
6139
|
},
|
|
6008
6140
|
"importPath": "@happyvertical/smrt-profiles"
|
|
6009
6141
|
},
|
|
@@ -6105,8 +6237,14 @@
|
|
|
6105
6237
|
],
|
|
6106
6238
|
"schema": {
|
|
6107
6239
|
"tableName": "profile_assets",
|
|
6108
|
-
"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);",
|
|
6240
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"profile_assets\" (\n \"_sync_origin_device_id\" TEXT,\n \"_sync_revision\" INTEGER,\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);",
|
|
6109
6241
|
"columns": {
|
|
6242
|
+
"_sync_origin_device_id": {
|
|
6243
|
+
"type": "TEXT"
|
|
6244
|
+
},
|
|
6245
|
+
"_sync_revision": {
|
|
6246
|
+
"type": "INTEGER"
|
|
6247
|
+
},
|
|
6110
6248
|
"id": {
|
|
6111
6249
|
"type": "UUID",
|
|
6112
6250
|
"primaryKey": true,
|
|
@@ -6199,7 +6337,7 @@
|
|
|
6199
6337
|
]
|
|
6200
6338
|
}
|
|
6201
6339
|
],
|
|
6202
|
-
"version": "
|
|
6340
|
+
"version": "86c00d61"
|
|
6203
6341
|
},
|
|
6204
6342
|
"importPath": "@happyvertical/smrt-profiles"
|
|
6205
6343
|
},
|
|
@@ -6357,8 +6495,14 @@
|
|
|
6357
6495
|
],
|
|
6358
6496
|
"schema": {
|
|
6359
6497
|
"tableName": "profile_links",
|
|
6360
|
-
"ddl": "CREATE TABLE IF NOT EXISTS \"profile_links\" (\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 \"platform\" TEXT NOT NULL DEFAULT 'website',\n \"url\" TEXT NOT NULL,\n \"label\" TEXT,\n \"sort_order\" INTEGER NOT NULL DEFAULT 0\n);",
|
|
6498
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"profile_links\" (\n \"_sync_origin_device_id\" TEXT,\n \"_sync_revision\" INTEGER,\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 \"platform\" TEXT NOT NULL DEFAULT 'website',\n \"url\" TEXT NOT NULL,\n \"label\" TEXT,\n \"sort_order\" INTEGER NOT NULL DEFAULT 0\n);",
|
|
6361
6499
|
"columns": {
|
|
6500
|
+
"_sync_origin_device_id": {
|
|
6501
|
+
"type": "TEXT"
|
|
6502
|
+
},
|
|
6503
|
+
"_sync_revision": {
|
|
6504
|
+
"type": "INTEGER"
|
|
6505
|
+
},
|
|
6362
6506
|
"id": {
|
|
6363
6507
|
"type": "UUID",
|
|
6364
6508
|
"primaryKey": true,
|
|
@@ -6450,7 +6594,7 @@
|
|
|
6450
6594
|
]
|
|
6451
6595
|
}
|
|
6452
6596
|
],
|
|
6453
|
-
"version": "
|
|
6597
|
+
"version": "bf0b368b"
|
|
6454
6598
|
},
|
|
6455
6599
|
"importPath": "@happyvertical/smrt-profiles"
|
|
6456
6600
|
},
|
|
@@ -6583,8 +6727,14 @@
|
|
|
6583
6727
|
],
|
|
6584
6728
|
"schema": {
|
|
6585
6729
|
"tableName": "profile_metadata",
|
|
6586
|
-
"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);",
|
|
6730
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"profile_metadata\" (\n \"_sync_origin_device_id\" TEXT,\n \"_sync_revision\" INTEGER,\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);",
|
|
6587
6731
|
"columns": {
|
|
6732
|
+
"_sync_origin_device_id": {
|
|
6733
|
+
"type": "TEXT"
|
|
6734
|
+
},
|
|
6735
|
+
"_sync_revision": {
|
|
6736
|
+
"type": "INTEGER"
|
|
6737
|
+
},
|
|
6588
6738
|
"id": {
|
|
6589
6739
|
"type": "UUID",
|
|
6590
6740
|
"primaryKey": true,
|
|
@@ -6689,7 +6839,7 @@
|
|
|
6689
6839
|
]
|
|
6690
6840
|
}
|
|
6691
6841
|
],
|
|
6692
|
-
"version": "
|
|
6842
|
+
"version": "fdb0f02d"
|
|
6693
6843
|
},
|
|
6694
6844
|
"importPath": "@happyvertical/smrt-profiles"
|
|
6695
6845
|
},
|
|
@@ -6849,8 +6999,14 @@
|
|
|
6849
6999
|
],
|
|
6850
7000
|
"schema": {
|
|
6851
7001
|
"tableName": "profile_metafields",
|
|
6852
|
-
"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);",
|
|
7002
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"profile_metafields\" (\n \"_sync_origin_device_id\" TEXT,\n \"_sync_revision\" INTEGER,\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);",
|
|
6853
7003
|
"columns": {
|
|
7004
|
+
"_sync_origin_device_id": {
|
|
7005
|
+
"type": "TEXT"
|
|
7006
|
+
},
|
|
7007
|
+
"_sync_revision": {
|
|
7008
|
+
"type": "INTEGER"
|
|
7009
|
+
},
|
|
6854
7010
|
"id": {
|
|
6855
7011
|
"type": "UUID",
|
|
6856
7012
|
"primaryKey": true,
|
|
@@ -6929,7 +7085,7 @@
|
|
|
6929
7085
|
]
|
|
6930
7086
|
}
|
|
6931
7087
|
],
|
|
6932
|
-
"version": "
|
|
7088
|
+
"version": "6de23b1a"
|
|
6933
7089
|
},
|
|
6934
7090
|
"importPath": "@happyvertical/smrt-profiles"
|
|
6935
7091
|
},
|
|
@@ -7112,8 +7268,14 @@
|
|
|
7112
7268
|
],
|
|
7113
7269
|
"schema": {
|
|
7114
7270
|
"tableName": "profile_relationships",
|
|
7115
|
-
"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);",
|
|
7271
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"profile_relationships\" (\n \"_sync_origin_device_id\" TEXT,\n \"_sync_revision\" INTEGER,\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);",
|
|
7116
7272
|
"columns": {
|
|
7273
|
+
"_sync_origin_device_id": {
|
|
7274
|
+
"type": "TEXT"
|
|
7275
|
+
},
|
|
7276
|
+
"_sync_revision": {
|
|
7277
|
+
"type": "INTEGER"
|
|
7278
|
+
},
|
|
7117
7279
|
"id": {
|
|
7118
7280
|
"type": "UUID",
|
|
7119
7281
|
"primaryKey": true,
|
|
@@ -7247,7 +7409,7 @@
|
|
|
7247
7409
|
]
|
|
7248
7410
|
}
|
|
7249
7411
|
],
|
|
7250
|
-
"version": "
|
|
7412
|
+
"version": "633f2a58"
|
|
7251
7413
|
},
|
|
7252
7414
|
"importPath": "@happyvertical/smrt-profiles"
|
|
7253
7415
|
},
|
|
@@ -7357,8 +7519,14 @@
|
|
|
7357
7519
|
],
|
|
7358
7520
|
"schema": {
|
|
7359
7521
|
"tableName": "profile_relationship_terms",
|
|
7360
|
-
"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);",
|
|
7522
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"profile_relationship_terms\" (\n \"_sync_origin_device_id\" TEXT,\n \"_sync_revision\" INTEGER,\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);",
|
|
7361
7523
|
"columns": {
|
|
7524
|
+
"_sync_origin_device_id": {
|
|
7525
|
+
"type": "TEXT"
|
|
7526
|
+
},
|
|
7527
|
+
"_sync_revision": {
|
|
7528
|
+
"type": "INTEGER"
|
|
7529
|
+
},
|
|
7362
7530
|
"id": {
|
|
7363
7531
|
"type": "UUID",
|
|
7364
7532
|
"primaryKey": true,
|
|
@@ -7441,7 +7609,7 @@
|
|
|
7441
7609
|
]
|
|
7442
7610
|
}
|
|
7443
7611
|
],
|
|
7444
|
-
"version": "
|
|
7612
|
+
"version": "0c52b81b"
|
|
7445
7613
|
},
|
|
7446
7614
|
"importPath": "@happyvertical/smrt-profiles"
|
|
7447
7615
|
},
|
|
@@ -7571,8 +7739,14 @@
|
|
|
7571
7739
|
],
|
|
7572
7740
|
"schema": {
|
|
7573
7741
|
"tableName": "profile_relationship_types",
|
|
7574
|
-
"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);",
|
|
7742
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"profile_relationship_types\" (\n \"_sync_origin_device_id\" TEXT,\n \"_sync_revision\" INTEGER,\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);",
|
|
7575
7743
|
"columns": {
|
|
7744
|
+
"_sync_origin_device_id": {
|
|
7745
|
+
"type": "TEXT"
|
|
7746
|
+
},
|
|
7747
|
+
"_sync_revision": {
|
|
7748
|
+
"type": "INTEGER"
|
|
7749
|
+
},
|
|
7576
7750
|
"id": {
|
|
7577
7751
|
"type": "UUID",
|
|
7578
7752
|
"primaryKey": true,
|
|
@@ -7640,7 +7814,7 @@
|
|
|
7640
7814
|
]
|
|
7641
7815
|
}
|
|
7642
7816
|
],
|
|
7643
|
-
"version": "
|
|
7817
|
+
"version": "686c1b2b"
|
|
7644
7818
|
},
|
|
7645
7819
|
"importPath": "@happyvertical/smrt-profiles"
|
|
7646
7820
|
},
|
|
@@ -7749,8 +7923,14 @@
|
|
|
7749
7923
|
],
|
|
7750
7924
|
"schema": {
|
|
7751
7925
|
"tableName": "profile_types",
|
|
7752
|
-
"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);",
|
|
7926
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"profile_types\" (\n \"_sync_origin_device_id\" TEXT,\n \"_sync_revision\" INTEGER,\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);",
|
|
7753
7927
|
"columns": {
|
|
7928
|
+
"_sync_origin_device_id": {
|
|
7929
|
+
"type": "TEXT"
|
|
7930
|
+
},
|
|
7931
|
+
"_sync_revision": {
|
|
7932
|
+
"type": "INTEGER"
|
|
7933
|
+
},
|
|
7754
7934
|
"id": {
|
|
7755
7935
|
"type": "UUID",
|
|
7756
7936
|
"primaryKey": true,
|
|
@@ -7825,7 +8005,7 @@
|
|
|
7825
8005
|
]
|
|
7826
8006
|
}
|
|
7827
8007
|
],
|
|
7828
|
-
"version": "
|
|
8008
|
+
"version": "2f3f9baf"
|
|
7829
8009
|
},
|
|
7830
8010
|
"importPath": "@happyvertical/smrt-profiles"
|
|
7831
8011
|
},
|
|
@@ -8424,8 +8604,14 @@
|
|
|
8424
8604
|
],
|
|
8425
8605
|
"schema": {
|
|
8426
8606
|
"tableName": "profiles",
|
|
8427
|
-
"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 \"is_public\" BOOLEAN DEFAULT FALSE\n);",
|
|
8607
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"profiles\" (\n \"_sync_origin_device_id\" TEXT,\n \"_sync_revision\" INTEGER,\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 \"is_public\" BOOLEAN DEFAULT FALSE\n);",
|
|
8428
8608
|
"columns": {
|
|
8609
|
+
"_sync_origin_device_id": {
|
|
8610
|
+
"type": "TEXT"
|
|
8611
|
+
},
|
|
8612
|
+
"_sync_revision": {
|
|
8613
|
+
"type": "INTEGER"
|
|
8614
|
+
},
|
|
8429
8615
|
"id": {
|
|
8430
8616
|
"type": "UUID",
|
|
8431
8617
|
"primaryKey": true,
|
|
@@ -8536,7 +8722,7 @@
|
|
|
8536
8722
|
]
|
|
8537
8723
|
}
|
|
8538
8724
|
],
|
|
8539
|
-
"version": "
|
|
8725
|
+
"version": "964046a6"
|
|
8540
8726
|
},
|
|
8541
8727
|
"importPath": "@happyvertical/smrt-profiles"
|
|
8542
8728
|
},
|
|
@@ -9135,8 +9321,14 @@
|
|
|
9135
9321
|
],
|
|
9136
9322
|
"schema": {
|
|
9137
9323
|
"tableName": "profiles",
|
|
9138
|
-
"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 \"is_public\" BOOLEAN DEFAULT FALSE\n);",
|
|
9324
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"profiles\" (\n \"_sync_origin_device_id\" TEXT,\n \"_sync_revision\" INTEGER,\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 \"is_public\" BOOLEAN DEFAULT FALSE\n);",
|
|
9139
9325
|
"columns": {
|
|
9326
|
+
"_sync_origin_device_id": {
|
|
9327
|
+
"type": "TEXT"
|
|
9328
|
+
},
|
|
9329
|
+
"_sync_revision": {
|
|
9330
|
+
"type": "INTEGER"
|
|
9331
|
+
},
|
|
9140
9332
|
"id": {
|
|
9141
9333
|
"type": "UUID",
|
|
9142
9334
|
"primaryKey": true,
|
|
@@ -9247,7 +9439,7 @@
|
|
|
9247
9439
|
]
|
|
9248
9440
|
}
|
|
9249
9441
|
],
|
|
9250
|
-
"version": "
|
|
9442
|
+
"version": "7bb0ffe9"
|
|
9251
9443
|
},
|
|
9252
9444
|
"importPath": "@happyvertical/smrt-profiles"
|
|
9253
9445
|
},
|
|
@@ -9846,8 +10038,14 @@
|
|
|
9846
10038
|
],
|
|
9847
10039
|
"schema": {
|
|
9848
10040
|
"tableName": "profiles",
|
|
9849
|
-
"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 \"is_public\" BOOLEAN DEFAULT FALSE\n);",
|
|
10041
|
+
"ddl": "CREATE TABLE IF NOT EXISTS \"profiles\" (\n \"_sync_origin_device_id\" TEXT,\n \"_sync_revision\" INTEGER,\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 \"is_public\" BOOLEAN DEFAULT FALSE\n);",
|
|
9850
10042
|
"columns": {
|
|
10043
|
+
"_sync_origin_device_id": {
|
|
10044
|
+
"type": "TEXT"
|
|
10045
|
+
},
|
|
10046
|
+
"_sync_revision": {
|
|
10047
|
+
"type": "INTEGER"
|
|
10048
|
+
},
|
|
9851
10049
|
"id": {
|
|
9852
10050
|
"type": "UUID",
|
|
9853
10051
|
"primaryKey": true,
|
|
@@ -9958,7 +10156,7 @@
|
|
|
9958
10156
|
]
|
|
9959
10157
|
}
|
|
9960
10158
|
],
|
|
9961
|
-
"version": "
|
|
10159
|
+
"version": "53dec38e"
|
|
9962
10160
|
},
|
|
9963
10161
|
"importPath": "@happyvertical/smrt-profiles"
|
|
9964
10162
|
}
|