datanotes 3.4.2 → 3.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/api/extensions.cjs +1088 -5
- package/dist/api/extensions.js +1088 -5
- package/dist/api/index.cjs +1088 -5
- package/dist/api/index.js +1088 -5
- package/dist/api/mcp.cjs +1088 -5
- package/dist/api/mcp.js +1088 -5
- package/dist/datanotes.cjs +4408 -1618
- package/dist/docs/administration/git-sync.md +17 -0
- package/dist/docs/administration/limits.md +29 -0
- package/dist/docs/administration/use-with-obsidian.md +12 -0
- package/dist/docs/api/operations/alter_table.md +6 -1
- package/dist/docs/api/operations/create_table.md +5 -0
- package/dist/docs/api/operations/describe_table.md +1 -1
- package/dist/docs/api/operations/pack_rows.md +45 -0
- package/dist/docs/api/operations/tags/auxiliary.md +2 -0
- package/dist/docs/api/operations/unpack_rows.md +40 -0
- package/dist/docs/api.md +3 -1
- package/dist/docs/guides/data-quality/check-constraints.md +10 -10
- package/dist/docs/guides/data-quality/hand-edits.md +8 -8
- package/dist/docs/guides/database-objects/bases.md +11 -11
- package/dist/docs/guides/database-objects/catalogs-and-schemas.md +10 -10
- package/dist/docs/guides/database-objects/columns.md +41 -41
- package/dist/docs/guides/database-objects/packs.md +563 -0
- package/dist/docs/guides/database-objects/relations.md +28 -28
- package/dist/docs/guides/database-objects/tables.md +28 -28
- package/dist/docs/guides/database-objects/views.md +44 -44
- package/dist/docs/guides/history/change-data-feed.md +34 -34
- package/dist/docs/guides/history/journal-and-undo.md +12 -12
- package/dist/docs/guides/history/restore.md +20 -20
- package/dist/docs/guides/history/table-history.md +31 -31
- package/dist/docs/guides/read-and-write/automatic-links.md +15 -15
- package/dist/docs/guides/read-and-write/import-notes.md +21 -21
- package/dist/docs/guides/read-and-write/joins-and-aggregates.md +7 -7
- package/dist/docs/guides/read-and-write/read-and-filter.md +10 -10
- package/dist/docs/guides/read-and-write/write-rows.md +10 -10
- package/dist/docs/guides/search/text.md +1 -1
- package/dist/docs/reference/cli.md +3 -1
- package/dist/docs/reference/operations/auxiliary.md +30 -1
- package/dist/docs/reference/operations/queries.md +1 -1
- package/dist/docs/reference/operations/rows.md +3 -3
- package/dist/docs/reference/operations/schema.md +8 -4
- package/dist/docs/reference/operations.md +55 -53
- package/dist/docs/reference/settings.md +1 -0
- package/dist/docs/release-notes.md +29 -0
- package/package.json +1 -1
|
@@ -56,7 +56,7 @@ Answer:
|
|
|
56
56
|
"op": "create_table",
|
|
57
57
|
"planned_texts": ["datanotes/metastore.yaml"],
|
|
58
58
|
"commits": [{ "table": "main.public.watch", "version": 0, "operation": "CREATE TABLE" }],
|
|
59
|
-
"migration_id": "
|
|
59
|
+
"migration_id": "20261026T080015-create_table-create-table-main-public-watch"
|
|
60
60
|
}
|
|
61
61
|
```
|
|
62
62
|
|
|
@@ -85,7 +85,7 @@ Answer:
|
|
|
85
85
|
"files_created": 1,
|
|
86
86
|
"planned_creates": ["datanotes/main/public/watch/2026-03-14T2030.md"],
|
|
87
87
|
"commits": [{ "table": "main.public.watch", "version": 1, "operation": "WRITE" }],
|
|
88
|
-
"migration_id": "
|
|
88
|
+
"migration_id": "20261026T080015-insert_row-insert-into-watch"
|
|
89
89
|
}
|
|
90
90
|
```
|
|
91
91
|
|
|
@@ -94,7 +94,7 @@ Answer:
|
|
|
94
94
|
```markdown
|
|
95
95
|
---
|
|
96
96
|
table: main.public.watch
|
|
97
|
-
id:
|
|
97
|
+
id: 01a17739-6ef6-7e69-bb23-1da1a2a8be1e
|
|
98
98
|
film: "[[His Girl Friday]]"
|
|
99
99
|
where: cinema
|
|
100
100
|
place: the film club downtown
|
|
@@ -189,7 +189,7 @@ Answer:
|
|
|
189
189
|
"op": "add_column",
|
|
190
190
|
"planned_texts": ["datanotes/metastore.yaml"],
|
|
191
191
|
"commits": [{ "table": "main.public.actor", "version": 4, "operation": "ADD COLUMNS" }],
|
|
192
|
-
"migration_id": "
|
|
192
|
+
"migration_id": "20261026T080015-add_column-add-column-films-to-actor"
|
|
193
193
|
}
|
|
194
194
|
```
|
|
195
195
|
|
|
@@ -217,7 +217,7 @@ Answer:
|
|
|
217
217
|
"op": "add_column",
|
|
218
218
|
"planned_texts": ["datanotes/metastore.yaml"],
|
|
219
219
|
"commits": [{ "table": "main.public.film", "version": 4, "operation": "ADD COLUMNS" }],
|
|
220
|
-
"migration_id": "
|
|
220
|
+
"migration_id": "20261026T080015-add_column-add-column-cast-to-film"
|
|
221
221
|
}
|
|
222
222
|
```
|
|
223
223
|
|
|
@@ -259,7 +259,7 @@ Answer:
|
|
|
259
259
|
{ "table": "main.public.actor", "version": 5, "operation": "UPDATE" },
|
|
260
260
|
{ "table": "main.public.film", "version": 5, "operation": "UPDATE" }
|
|
261
261
|
],
|
|
262
|
-
"migration_id": "
|
|
262
|
+
"migration_id": "20261026T080015-update_row-update-film"
|
|
263
263
|
}
|
|
264
264
|
```
|
|
265
265
|
|
|
@@ -268,7 +268,7 @@ Answer:
|
|
|
268
268
|
```markdown
|
|
269
269
|
---
|
|
270
270
|
table: main.public.film
|
|
271
|
-
id:
|
|
271
|
+
id: 01a17739-6edf-7b0e-b27f-015d987a7edf
|
|
272
272
|
title: Charade
|
|
273
273
|
year: 1963
|
|
274
274
|
minutes: 113
|
|
@@ -291,7 +291,7 @@ Answer:
|
|
|
291
291
|
```markdown
|
|
292
292
|
---
|
|
293
293
|
table: main.public.actor
|
|
294
|
-
id:
|
|
294
|
+
id: 01a17739-6ec1-7a2c-894b-3b2f0007421a
|
|
295
295
|
name: Cary Grant
|
|
296
296
|
born: 1904-01-18
|
|
297
297
|
films:
|
|
@@ -359,7 +359,7 @@ Answer:
|
|
|
359
359
|
{
|
|
360
360
|
"path": "datanotes/main/public/actor/Cary Grant.md",
|
|
361
361
|
"table": "main.public.actor",
|
|
362
|
-
"id": "
|
|
362
|
+
"id": "01a17739-6ec1-7a2c-894b-3b2f0007421a",
|
|
363
363
|
"name": "Cary Grant",
|
|
364
364
|
"born": "1904-01-18",
|
|
365
365
|
"films": ["[[Charade]]", "[[His Girl Friday]]"]
|
|
@@ -367,7 +367,7 @@ Answer:
|
|
|
367
367
|
{
|
|
368
368
|
"path": "datanotes/main/public/actor/Audrey Hepburn.md",
|
|
369
369
|
"table": "main.public.actor",
|
|
370
|
-
"id": "
|
|
370
|
+
"id": "01a17739-6ecc-74af-8081-df59a49da817",
|
|
371
371
|
"name": "Audrey Hepburn",
|
|
372
372
|
"born": "1929-05-04",
|
|
373
373
|
"films": ["[[Charade]]"]
|
|
@@ -423,7 +423,7 @@ Answer:
|
|
|
423
423
|
"op": "alter_column",
|
|
424
424
|
"planned_texts": ["datanotes/metastore.yaml"],
|
|
425
425
|
"commits": [{ "table": "main.public.film", "version": 9, "operation": "CHANGE COLUMN" }],
|
|
426
|
-
"migration_id": "
|
|
426
|
+
"migration_id": "20261026T080015-alter_column-alter-column-see_also-in-film"
|
|
427
427
|
}
|
|
428
428
|
```
|
|
429
429
|
|
|
@@ -479,7 +479,7 @@ Answer:
|
|
|
479
479
|
"commits": [
|
|
480
480
|
{ "table": "main.public.film", "version": 10, "operation": "ALIGN RELATIONS" }
|
|
481
481
|
],
|
|
482
|
-
"migration_id": "
|
|
482
|
+
"migration_id": "20261026T080015-align_relations-align-inverse-links-of-main-pu"
|
|
483
483
|
}
|
|
484
484
|
```
|
|
485
485
|
|
|
@@ -573,7 +573,7 @@ Answer:
|
|
|
573
573
|
"op": "add_column",
|
|
574
574
|
"planned_texts": ["datanotes/metastore.yaml"],
|
|
575
575
|
"commits": [{ "table": "main.public.film", "version": 11, "operation": "ADD COLUMNS" }],
|
|
576
|
-
"migration_id": "
|
|
576
|
+
"migration_id": "20261026T080015-add_column-add-column-tags-to-film"
|
|
577
577
|
}
|
|
578
578
|
```
|
|
579
579
|
|
|
@@ -629,7 +629,7 @@ Answer:
|
|
|
629
629
|
}
|
|
630
630
|
],
|
|
631
631
|
"commits": [{ "table": "main.public.film", "version": 12, "operation": "UPDATE" }],
|
|
632
|
-
"migration_id": "
|
|
632
|
+
"migration_id": "20261026T080015-update_row-update-film-4"
|
|
633
633
|
}
|
|
634
634
|
```
|
|
635
635
|
|
|
@@ -677,7 +677,7 @@ Answer:
|
|
|
677
677
|
"op": "create_table",
|
|
678
678
|
"planned_texts": ["datanotes/metastore.yaml"],
|
|
679
679
|
"commits": [{ "table": "main.public.genre", "version": 0, "operation": "CREATE TABLE" }],
|
|
680
|
-
"migration_id": "
|
|
680
|
+
"migration_id": "20261026T080015-create_table-create-table-main-public-genre"
|
|
681
681
|
}
|
|
682
682
|
```
|
|
683
683
|
|
|
@@ -793,7 +793,7 @@ Answer:
|
|
|
793
793
|
"op": "add_column",
|
|
794
794
|
"planned_texts": ["datanotes/metastore.yaml"],
|
|
795
795
|
"commits": [{ "table": "main.public.film", "version": 13, "operation": "ADD COLUMNS" }],
|
|
796
|
-
"migration_id": "
|
|
796
|
+
"migration_id": "20261026T080015-add_column-add-column-watch_after-to-film"
|
|
797
797
|
}
|
|
798
798
|
```
|
|
799
799
|
|
|
@@ -907,7 +907,7 @@ Answer:
|
|
|
907
907
|
"commits": [
|
|
908
908
|
{ "table": "main.public.genre", "version": 10, "operation": "CHANGE COLUMN" }
|
|
909
909
|
],
|
|
910
|
-
"migration_id": "
|
|
910
|
+
"migration_id": "20261026T080016-alter_column-alter-column-parent-in-genre"
|
|
911
911
|
}
|
|
912
912
|
```
|
|
913
913
|
|
|
@@ -1065,7 +1065,7 @@ Answer:
|
|
|
1065
1065
|
"op": "add_column",
|
|
1066
1066
|
"planned_texts": ["datanotes/metastore.yaml"],
|
|
1067
1067
|
"commits": [{ "table": "main.public.film", "version": 17, "operation": "ADD COLUMNS" }],
|
|
1068
|
-
"migration_id": "
|
|
1068
|
+
"migration_id": "20261026T080016-add_column-add-column-genre-to-film"
|
|
1069
1069
|
}
|
|
1070
1070
|
```
|
|
1071
1071
|
|
|
@@ -1147,7 +1147,7 @@ Answer:
|
|
|
1147
1147
|
"op": "add_column",
|
|
1148
1148
|
"planned_texts": ["datanotes/metastore.yaml"],
|
|
1149
1149
|
"commits": [{ "table": "main.public.watch", "version": 3, "operation": "ADD COLUMNS" }],
|
|
1150
|
-
"migration_id": "
|
|
1150
|
+
"migration_id": "20261026T080016-add_column-add-column-on_day-to-watch"
|
|
1151
1151
|
}
|
|
1152
1152
|
```
|
|
1153
1153
|
|
|
@@ -1176,7 +1176,7 @@ Answer:
|
|
|
1176
1176
|
"files_created": 1,
|
|
1177
1177
|
"planned_creates": ["datanotes/main/public/watch/2026-10-31T2300.md"],
|
|
1178
1178
|
"commits": [{ "table": "main.public.watch", "version": 4, "operation": "WRITE" }],
|
|
1179
|
-
"migration_id": "
|
|
1179
|
+
"migration_id": "20261026T080016-insert_row-insert-into-watch"
|
|
1180
1180
|
}
|
|
1181
1181
|
```
|
|
1182
1182
|
|
|
@@ -1185,7 +1185,7 @@ Answer:
|
|
|
1185
1185
|
```markdown
|
|
1186
1186
|
---
|
|
1187
1187
|
table: main.public.watch
|
|
1188
|
-
id:
|
|
1188
|
+
id: 01a17739-7631-7e49-aef9-2e9188d79c6d
|
|
1189
1189
|
film: "[[Night of the Living Dead]]"
|
|
1190
1190
|
where: cinema
|
|
1191
1191
|
place: the film club downtown
|
|
@@ -1262,13 +1262,13 @@ Answer (77 lines)
|
|
|
1262
1262
|
"ok": true,
|
|
1263
1263
|
"op": "batch",
|
|
1264
1264
|
"dry_run": false,
|
|
1265
|
-
"migration_id": "
|
|
1265
|
+
"migration_id": "20261026T080016-batch-remove-charade-and-its-viewing",
|
|
1266
1266
|
"steps": [
|
|
1267
1267
|
{
|
|
1268
1268
|
"index": 0,
|
|
1269
1269
|
"op": "delete_rows",
|
|
1270
1270
|
"ok": true,
|
|
1271
|
-
"migration_id": "
|
|
1271
|
+
"migration_id": "20261026T080016-delete_rows-archive-1-rows-of-watch",
|
|
1272
1272
|
"result": {
|
|
1273
1273
|
"ok": true,
|
|
1274
1274
|
"op": "delete_rows",
|
|
@@ -1280,14 +1280,14 @@ Answer (77 lines)
|
|
|
1280
1280
|
}
|
|
1281
1281
|
],
|
|
1282
1282
|
"commits": [{ "table": "main.public.watch", "version": 5, "operation": "DELETE" }],
|
|
1283
|
-
"migration_id": "
|
|
1283
|
+
"migration_id": "20261026T080016-delete_rows-archive-1-rows-of-watch"
|
|
1284
1284
|
}
|
|
1285
1285
|
},
|
|
1286
1286
|
{
|
|
1287
1287
|
"index": 1,
|
|
1288
1288
|
"op": "delete_rows",
|
|
1289
1289
|
"ok": true,
|
|
1290
|
-
"migration_id": "
|
|
1290
|
+
"migration_id": "20261026T080016-delete_rows-archive-1-rows-of-film",
|
|
1291
1291
|
"result": {
|
|
1292
1292
|
"ok": true,
|
|
1293
1293
|
"op": "delete_rows",
|
|
@@ -1330,7 +1330,7 @@ Answer (77 lines)
|
|
|
1330
1330
|
{ "table": "main.public.actor", "version": 7, "operation": "DELETE" },
|
|
1331
1331
|
{ "table": "main.public.film", "version": 18, "operation": "DELETE" }
|
|
1332
1332
|
],
|
|
1333
|
-
"migration_id": "
|
|
1333
|
+
"migration_id": "20261026T080016-delete_rows-archive-1-rows-of-film"
|
|
1334
1334
|
}
|
|
1335
1335
|
}
|
|
1336
1336
|
]
|
|
@@ -1348,7 +1348,7 @@ Answer:
|
|
|
1348
1348
|
```markdown
|
|
1349
1349
|
---
|
|
1350
1350
|
table: main.public.actor
|
|
1351
|
-
id:
|
|
1351
|
+
id: 01a17739-6ec1-7a2c-894b-3b2f0007421a
|
|
1352
1352
|
name: Cary Grant
|
|
1353
1353
|
born: 1904-01-18
|
|
1354
1354
|
films:
|
|
@@ -1370,7 +1370,7 @@ The engine wrote this file with the relations from this page:
|
|
|
1370
1370
|
|
|
1371
1371
|
```yaml
|
|
1372
1372
|
# Metastore (Datanotes): catalogs, schemas, tables, columns, views.
|
|
1373
|
-
id:
|
|
1373
|
+
id: 01a17739-6eb3-7542-86e1-98a32b5816f0
|
|
1374
1374
|
config:
|
|
1375
1375
|
history: true
|
|
1376
1376
|
|
|
@@ -58,7 +58,7 @@ Answer:
|
|
|
58
58
|
```json
|
|
59
59
|
{
|
|
60
60
|
"ok": true,
|
|
61
|
-
"migration_id": "
|
|
61
|
+
"migration_id": "20261026T080012-create_table-create-table-main-public-film",
|
|
62
62
|
"summary": null
|
|
63
63
|
}
|
|
64
64
|
```
|
|
@@ -67,7 +67,7 @@ Answer:
|
|
|
67
67
|
|
|
68
68
|
```yaml
|
|
69
69
|
# Metastore (Datanotes): catalogs, schemas, tables, columns, views.
|
|
70
|
-
id:
|
|
70
|
+
id: 01a17739-65a1-7c7f-bc4f-b78d45721341
|
|
71
71
|
config:
|
|
72
72
|
history: true
|
|
73
73
|
|
|
@@ -379,24 +379,24 @@ Answer:
|
|
|
379
379
|
"ok": true,
|
|
380
380
|
"op": "insert_row",
|
|
381
381
|
"files_created": 1,
|
|
382
|
-
"planned_creates": ["datanotes/main/public/watch/2026-10-
|
|
382
|
+
"planned_creates": ["datanotes/main/public/watch/2026-10-26 Nosferatu.md"],
|
|
383
383
|
"commits": [{ "table": "main.public.watch", "version": 1, "operation": "WRITE" }],
|
|
384
|
-
"migration_id": "
|
|
384
|
+
"migration_id": "20261026T080012-insert_row-insert-into-watch"
|
|
385
385
|
}
|
|
386
386
|
```
|
|
387
387
|
|
|
388
|
-
`datanotes/main/public/watch/2026-10-
|
|
388
|
+
`datanotes/main/public/watch/2026-10-26 Nosferatu.md` now reads:
|
|
389
389
|
|
|
390
390
|
```markdown
|
|
391
391
|
---
|
|
392
392
|
table: main.public.watch
|
|
393
393
|
cssclasses:
|
|
394
394
|
- watch
|
|
395
|
-
id:
|
|
395
|
+
id: 01a17739-6677-7c4e-8351-55080181fc81
|
|
396
396
|
film: Nosferatu
|
|
397
397
|
where: outdoor screening
|
|
398
398
|
place: the park by the river
|
|
399
|
-
occurred_at: 2026-10-
|
|
399
|
+
occurred_at: 2026-10-26T08:00:12Z
|
|
400
400
|
---
|
|
401
401
|
Watched Nosferatu (outdoor screening).
|
|
402
402
|
|
|
@@ -440,7 +440,7 @@ Answer:
|
|
|
440
440
|
"op": "alter_table",
|
|
441
441
|
"planned_texts": ["datanotes/metastore.yaml"],
|
|
442
442
|
"commits": [{ "table": "main.public.watch", "version": 2, "operation": "ALTER TABLE" }],
|
|
443
|
-
"migration_id": "
|
|
443
|
+
"migration_id": "20261026T080012-alter_table-alter-table-main-public-watch"
|
|
444
444
|
}
|
|
445
445
|
```
|
|
446
446
|
|
|
@@ -614,7 +614,7 @@ Answer (44 lines)
|
|
|
614
614
|
{ "table": "diary.classics.actor", "version": 6, "operation": "ALTER TABLE" },
|
|
615
615
|
{ "table": "diary.classics.film", "version": 14, "operation": "ALTER TABLE" }
|
|
616
616
|
],
|
|
617
|
-
"migration_id": "
|
|
617
|
+
"migration_id": "20261026T080029-alter_table-move-table-diary-classics-acto",
|
|
618
618
|
"schema_references": [
|
|
619
619
|
{
|
|
620
620
|
"table": "diary.classics.film",
|
|
@@ -671,7 +671,7 @@ Answer (44 lines)
|
|
|
671
671
|
{ "table": "diary.classics.film", "version": 15, "operation": "ALTER TABLE" },
|
|
672
672
|
{ "table": "diary.credits.actor", "version": 7, "operation": "ALTER TABLE" }
|
|
673
673
|
],
|
|
674
|
-
"migration_id": "
|
|
674
|
+
"migration_id": "20261026T080029-alter_table-move-table-diary-classics-acto-2",
|
|
675
675
|
"schema_references": [
|
|
676
676
|
{
|
|
677
677
|
"table": "diary.classics.film",
|
|
@@ -783,7 +783,7 @@ Answer:
|
|
|
783
783
|
"commits": [
|
|
784
784
|
{ "table": "diary.classics.film", "version": 17, "operation": "ALTER TABLE" }
|
|
785
785
|
],
|
|
786
|
-
"migration_id": "
|
|
786
|
+
"migration_id": "20261026T080029-alter_table-alter-table-diary-classics-fil-5"
|
|
787
787
|
}
|
|
788
788
|
```
|
|
789
789
|
|
|
@@ -835,7 +835,7 @@ Answer:
|
|
|
835
835
|
"commits": [
|
|
836
836
|
{ "table": "diary.classics.film", "version": 18, "operation": "ALTER TABLE" }
|
|
837
837
|
],
|
|
838
|
-
"migration_id": "
|
|
838
|
+
"migration_id": "20261026T080029-alter_table-alter-table-diary-classics-fil-6"
|
|
839
839
|
}
|
|
840
840
|
```
|
|
841
841
|
|
|
@@ -877,7 +877,7 @@ Answer:
|
|
|
877
877
|
"commits": [
|
|
878
878
|
{ "table": "diary.classics.film", "version": 19, "operation": "ALTER TABLE" }
|
|
879
879
|
],
|
|
880
|
-
"migration_id": "
|
|
880
|
+
"migration_id": "20261026T080029-alter_table-alter-table-diary-classics-fil-7"
|
|
881
881
|
}
|
|
882
882
|
```
|
|
883
883
|
|
|
@@ -897,7 +897,7 @@ Answer:
|
|
|
897
897
|
"commits": [
|
|
898
898
|
{ "table": "diary.classics.film", "version": 20, "operation": "ALTER TABLE" }
|
|
899
899
|
],
|
|
900
|
-
"migration_id": "
|
|
900
|
+
"migration_id": "20261026T080029-alter_table-alter-table-diary-classics-fil-8"
|
|
901
901
|
}
|
|
902
902
|
```
|
|
903
903
|
|
|
@@ -917,7 +917,7 @@ Answer:
|
|
|
917
917
|
"commits": [
|
|
918
918
|
{ "table": "diary.classics.film", "version": 21, "operation": "ALTER TABLE" }
|
|
919
919
|
],
|
|
920
|
-
"migration_id": "
|
|
920
|
+
"migration_id": "20261026T080029-alter_table-alter-table-diary-classics-fil-9"
|
|
921
921
|
}
|
|
922
922
|
```
|
|
923
923
|
|
|
@@ -944,7 +944,7 @@ Answer:
|
|
|
944
944
|
"files_created": 1,
|
|
945
945
|
"planned_creates": ["datanotes/diary/classics/film/1925/Battleship Potemkin (1925).md"],
|
|
946
946
|
"commits": [{ "table": "diary.classics.film", "version": 22, "operation": "WRITE" }],
|
|
947
|
-
"migration_id": "
|
|
947
|
+
"migration_id": "20261026T080029-insert_row-insert-into-film-4"
|
|
948
948
|
}
|
|
949
949
|
```
|
|
950
950
|
|
|
@@ -954,7 +954,7 @@ Answer:
|
|
|
954
954
|
---
|
|
955
955
|
table: diary.classics.film
|
|
956
956
|
cut: restored
|
|
957
|
-
id:
|
|
957
|
+
id: 01a17739-a765-7a13-87ba-75302cbef968
|
|
958
958
|
title: Battleship Potemkin
|
|
959
959
|
year: 1925
|
|
960
960
|
minutes: 75
|
|
@@ -985,7 +985,7 @@ Answer:
|
|
|
985
985
|
"commits": [
|
|
986
986
|
{ "table": "diary.classics.film", "version": 23, "operation": "ALTER TABLE" }
|
|
987
987
|
],
|
|
988
|
-
"migration_id": "
|
|
988
|
+
"migration_id": "20261026T080029-alter_table-alter-table-diary-classics-fil-10"
|
|
989
989
|
}
|
|
990
990
|
```
|
|
991
991
|
|
|
@@ -1007,7 +1007,7 @@ Answer:
|
|
|
1007
1007
|
"files_created": 1,
|
|
1008
1008
|
"planned_creates": ["datanotes/diary/classics/film/1924/Sherlock Jr. (1924).md"],
|
|
1009
1009
|
"commits": [{ "table": "diary.classics.film", "version": 24, "operation": "WRITE" }],
|
|
1010
|
-
"migration_id": "
|
|
1010
|
+
"migration_id": "20261026T080029-insert_row-insert-into-film-5"
|
|
1011
1011
|
}
|
|
1012
1012
|
```
|
|
1013
1013
|
|
|
@@ -1017,7 +1017,7 @@ Answer:
|
|
|
1017
1017
|
---
|
|
1018
1018
|
table: diary.classics.film
|
|
1019
1019
|
cut: restored
|
|
1020
|
-
id:
|
|
1020
|
+
id: 01a17739-a77a-7270-b810-5223834f440f
|
|
1021
1021
|
title: Sherlock Jr.
|
|
1022
1022
|
year: 1924
|
|
1023
1023
|
minutes: 45
|
|
@@ -1050,7 +1050,7 @@ Answer:
|
|
|
1050
1050
|
"commits": [
|
|
1051
1051
|
{ "table": "diary.classics.film", "version": 25, "operation": "ALTER TABLE" }
|
|
1052
1052
|
],
|
|
1053
|
-
"migration_id": "
|
|
1053
|
+
"migration_id": "20261026T080029-alter_table-alter-table-diary-classics-fil-11"
|
|
1054
1054
|
}
|
|
1055
1055
|
```
|
|
1056
1056
|
|
|
@@ -1132,7 +1132,7 @@ Answer:
|
|
|
1132
1132
|
```json
|
|
1133
1133
|
{
|
|
1134
1134
|
"ok": true,
|
|
1135
|
-
"migration_id": "
|
|
1135
|
+
"migration_id": "20261026T080029-create_table-create-table-diary-log-watch"
|
|
1136
1136
|
}
|
|
1137
1137
|
```
|
|
1138
1138
|
|
|
@@ -1161,7 +1161,7 @@ Answer:
|
|
|
1161
1161
|
"files_created": 1,
|
|
1162
1162
|
"planned_creates": ["datanotes/diary/log/watch/2026/10/2026-10-06 2130.md"],
|
|
1163
1163
|
"commits": [{ "table": "diary.log.watch", "version": 1, "operation": "WRITE" }],
|
|
1164
|
-
"migration_id": "
|
|
1164
|
+
"migration_id": "20261026T080029-insert_row-insert-into-watch"
|
|
1165
1165
|
}
|
|
1166
1166
|
```
|
|
1167
1167
|
|
|
@@ -1170,7 +1170,7 @@ Answer:
|
|
|
1170
1170
|
```markdown
|
|
1171
1171
|
---
|
|
1172
1172
|
table: diary.log.watch
|
|
1173
|
-
id:
|
|
1173
|
+
id: 01a17739-a7b6-7354-8ef4-5022c1a7f9a5
|
|
1174
1174
|
film: "[[Nosferatu (1922)]]"
|
|
1175
1175
|
occurred_at: 2026-10-06T21:30:00+02:00
|
|
1176
1176
|
where: outdoor screening
|
|
@@ -1206,7 +1206,7 @@ Answer:
|
|
|
1206
1206
|
"commits": [
|
|
1207
1207
|
{ "table": "sandbox.classics.film_copy", "version": 0, "operation": "CLONE" }
|
|
1208
1208
|
],
|
|
1209
|
-
"migration_id": "
|
|
1209
|
+
"migration_id": "20261026T080029-clone_table-clone-diary-classics-film-to-s"
|
|
1210
1210
|
}
|
|
1211
1211
|
```
|
|
1212
1212
|
|
|
@@ -1272,7 +1272,7 @@ Answer:
|
|
|
1272
1272
|
"commits": [
|
|
1273
1273
|
{ "table": "sandbox.classics.film_empty", "version": 0, "operation": "CLONE" }
|
|
1274
1274
|
],
|
|
1275
|
-
"migration_id": "
|
|
1275
|
+
"migration_id": "20261026T080029-clone_table-clone-diary-classics-film-to-s-2"
|
|
1276
1276
|
}
|
|
1277
1277
|
```
|
|
1278
1278
|
|
|
@@ -1354,7 +1354,7 @@ Answer:
|
|
|
1354
1354
|
],
|
|
1355
1355
|
"planned_texts": ["datanotes/metastore.yaml"],
|
|
1356
1356
|
"commits": [{ "table": "main.public.scratch", "version": 2, "operation": "DROP TABLE" }],
|
|
1357
|
-
"migration_id": "
|
|
1357
|
+
"migration_id": "20261026T080013-drop_table-drop-table-scratch"
|
|
1358
1358
|
}
|
|
1359
1359
|
```
|
|
1360
1360
|
|
|
@@ -1378,7 +1378,7 @@ The engine wrote this file in its own words. It holds `film`, `watch` and `revie
|
|
|
1378
1378
|
|
|
1379
1379
|
```yaml
|
|
1380
1380
|
# Metastore (Datanotes): catalogs, schemas, tables, columns, views.
|
|
1381
|
-
id:
|
|
1381
|
+
id: 01a17739-65a1-7c7f-bc4f-b78d45721341
|
|
1382
1382
|
config:
|
|
1383
1383
|
history: true
|
|
1384
1384
|
|