datanotes 3.0.0 → 3.1.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 -5
- package/dist/api/client.d.cts +37 -4
- package/dist/api/client.d.ts +37 -4
- package/dist/api/index.cjs +388 -52
- package/dist/api/index.d.cts +3 -2
- package/dist/api/index.d.ts +3 -2
- package/dist/api/index.js +388 -52
- package/dist/api/mcp.cjs +6 -3
- package/dist/api/mcp.js +6 -3
- package/dist/api/otlp.d.cts +63 -15
- package/dist/api/otlp.d.ts +63 -15
- package/dist/api/redact.d.cts +25 -0
- package/dist/api/redact.d.ts +25 -0
- package/dist/api/tokens.d.cts +5 -0
- package/dist/api/tokens.d.ts +5 -0
- package/dist/api/tracing.d.cts +107 -0
- package/dist/api/tracing.d.ts +107 -0
- package/dist/datanotes.cjs +9380 -2554
- package/dist/docs/administration/limits.md +96 -12
- package/dist/docs/administration/run-the-service.md +18 -0
- package/dist/docs/api/operations/graph_neighbors.md +4 -2
- package/dist/docs/api/operations/graph_path.md +3 -3
- package/dist/docs/api/operations/graph_traverse.md +2 -2
- package/dist/docs/api/operations/record_tool_call.md +1 -0
- package/dist/docs/api/operations/tags/queries.md +2 -2
- package/dist/docs/api.md +3 -3
- package/dist/docs/develop/concurrency.md +36 -1
- package/dist/docs/develop/http-api.md +11 -1
- package/dist/docs/develop/telemetry.md +224 -25
- 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 +38 -38
- package/dist/docs/guides/database-objects/relations.md +27 -27
- package/dist/docs/guides/database-objects/tables.md +37 -101
- package/dist/docs/guides/database-objects/views.md +44 -44
- package/dist/docs/guides/history/back-up.md +12 -4
- 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/history/vacuum.md +1 -10
- package/dist/docs/guides/read-and-write/automatic-links.md +15 -15
- package/dist/docs/guides/read-and-write/import-notes.md +20 -20
- 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/link-graph.md +95 -0
- package/dist/docs/guides/search/text.md +1 -1
- package/dist/docs/guides/security/who-did-what.md +2 -0
- package/dist/docs/reference/cli.md +10 -3
- package/dist/docs/reference/compatibility.md +33 -13
- package/dist/docs/reference/operations/queries.md +3 -3
- package/dist/docs/reference/operations.md +11 -11
- package/dist/docs/reference/settings.md +37 -25
- package/dist/docs/release-notes.md +121 -0
- package/dist/docs/start/how-it-works.md +35 -3
- package/dist/docs/start/quick-start.md +2 -0
- package/package.json +3 -2
|
@@ -28,7 +28,7 @@ Answer:
|
|
|
28
28
|
"commits": [
|
|
29
29
|
{ "table": "diary.classics.film", "version": 8, "operation": "ADD CONSTRAINT" }
|
|
30
30
|
],
|
|
31
|
-
"migration_id": "
|
|
31
|
+
"migration_id": "20261014T191534-add_constraint-add-constraint-rated_when_watc"
|
|
32
32
|
}
|
|
33
33
|
```
|
|
34
34
|
|
|
@@ -85,7 +85,7 @@ Answer:
|
|
|
85
85
|
"files_created": 1,
|
|
86
86
|
"planned_creates": ["datanotes/diary/classics/film/His Girl Friday.md"],
|
|
87
87
|
"commits": [{ "table": "diary.classics.film", "version": 10, "operation": "WRITE" }],
|
|
88
|
-
"migration_id": "
|
|
88
|
+
"migration_id": "20261014T191534-insert_row-insert-into-film-2"
|
|
89
89
|
}
|
|
90
90
|
```
|
|
91
91
|
|
|
@@ -107,7 +107,7 @@ Answer:
|
|
|
107
107
|
"commits": [
|
|
108
108
|
{ "table": "diary.classics.film", "version": 11, "operation": "DROP CONSTRAINT" }
|
|
109
109
|
],
|
|
110
|
-
"migration_id": "
|
|
110
|
+
"migration_id": "20261014T191534-drop_constraint-drop-constraint-at_most_three_"
|
|
111
111
|
}
|
|
112
112
|
```
|
|
113
113
|
|
|
@@ -148,7 +148,7 @@ Answer:
|
|
|
148
148
|
"commits": [
|
|
149
149
|
{ "table": "main.public.genre", "version": 4, "operation": "ADD CONSTRAINT" }
|
|
150
150
|
],
|
|
151
|
-
"migration_id": "
|
|
151
|
+
"migration_id": "20261014T191519-add_constraint-add-constraint-parent_by_level"
|
|
152
152
|
}
|
|
153
153
|
```
|
|
154
154
|
|
|
@@ -227,34 +227,34 @@ Answer:
|
|
|
227
227
|
"ok": true,
|
|
228
228
|
"op": "batch",
|
|
229
229
|
"dry_run": false,
|
|
230
|
-
"migration_id": "
|
|
230
|
+
"migration_id": "20261014T191519-batch-add-the-silent-era-and-slapsti",
|
|
231
231
|
"steps": [
|
|
232
232
|
{
|
|
233
233
|
"index": 0,
|
|
234
234
|
"op": "insert_row",
|
|
235
235
|
"ok": true,
|
|
236
|
-
"migration_id": "
|
|
236
|
+
"migration_id": "20261014T191519-insert_row-insert-into-genre-4",
|
|
237
237
|
"result": {
|
|
238
238
|
"ok": true,
|
|
239
239
|
"op": "insert_row",
|
|
240
240
|
"files_created": 1,
|
|
241
241
|
"planned_creates": ["datanotes/main/public/genre/Silent cinema.md"],
|
|
242
242
|
"commits": [{ "table": "main.public.genre", "version": 5, "operation": "WRITE" }],
|
|
243
|
-
"migration_id": "
|
|
243
|
+
"migration_id": "20261014T191519-insert_row-insert-into-genre-4"
|
|
244
244
|
}
|
|
245
245
|
},
|
|
246
246
|
{
|
|
247
247
|
"index": 1,
|
|
248
248
|
"op": "insert_row",
|
|
249
249
|
"ok": true,
|
|
250
|
-
"migration_id": "
|
|
250
|
+
"migration_id": "20261014T191519-insert_row-insert-into-genre-5",
|
|
251
251
|
"result": {
|
|
252
252
|
"ok": true,
|
|
253
253
|
"op": "insert_row",
|
|
254
254
|
"files_created": 1,
|
|
255
255
|
"planned_creates": ["datanotes/main/public/genre/Slapstick comedy.md"],
|
|
256
256
|
"commits": [{ "table": "main.public.genre", "version": 6, "operation": "WRITE" }],
|
|
257
|
-
"migration_id": "
|
|
257
|
+
"migration_id": "20261014T191519-insert_row-insert-into-genre-5"
|
|
258
258
|
}
|
|
259
259
|
}
|
|
260
260
|
]
|
|
@@ -342,7 +342,7 @@ Answer:
|
|
|
342
342
|
}
|
|
343
343
|
],
|
|
344
344
|
"commits": [{ "table": "main.public.genre", "version": 7, "operation": "UPDATE" }],
|
|
345
|
-
"migration_id": "
|
|
345
|
+
"migration_id": "20261014T191519-update_row-update-genre"
|
|
346
346
|
}
|
|
347
347
|
```
|
|
348
348
|
|
|
@@ -35,7 +35,7 @@ You edit `datanotes/main/public/genre/Silent film.md` by hand, outside the engin
|
|
|
35
35
|
```markdown
|
|
36
36
|
---
|
|
37
37
|
table: main.public.genre
|
|
38
|
-
id:
|
|
38
|
+
id: 01a13bd7-2bd8-71e9-a39c-6ec373b79149
|
|
39
39
|
name: Silent film
|
|
40
40
|
kind: cinema
|
|
41
41
|
parent: "[[Cinema]]"
|
|
@@ -152,7 +152,7 @@ Answer:
|
|
|
152
152
|
}
|
|
153
153
|
],
|
|
154
154
|
"commits": [{ "table": "main.public.genre", "version": 9, "operation": "UPDATE" }],
|
|
155
|
-
"migration_id": "
|
|
155
|
+
"migration_id": "20261014T191521-update_row-update-genre"
|
|
156
156
|
}
|
|
157
157
|
```
|
|
158
158
|
|
|
@@ -167,7 +167,7 @@ You edit `datanotes/main/public/watch/2026-10-03T2130.md` by hand, outside the e
|
|
|
167
167
|
```markdown
|
|
168
168
|
---
|
|
169
169
|
table: main.public.watch
|
|
170
|
-
id:
|
|
170
|
+
id: 01a13bd7-2222-7352-9dea-dd1d7658c61f
|
|
171
171
|
film: His Girl Friday
|
|
172
172
|
occurred_at: 2026-10-03T21:30
|
|
173
173
|
where: cinema
|
|
@@ -226,7 +226,7 @@ Answer:
|
|
|
226
226
|
}
|
|
227
227
|
],
|
|
228
228
|
"commits": [{ "table": "main.public.watch", "version": 3, "operation": "RECOMPUTE" }],
|
|
229
|
-
"migration_id": "
|
|
229
|
+
"migration_id": "20261014T191518-recompute_columns-recompute-id-day-label-of-watc"
|
|
230
230
|
}
|
|
231
231
|
```
|
|
232
232
|
|
|
@@ -292,7 +292,7 @@ Answer:
|
|
|
292
292
|
```markdown
|
|
293
293
|
---
|
|
294
294
|
table: main.public.watch
|
|
295
|
-
id:
|
|
295
|
+
id: 01a13bd7-8a28-7d6f-843c-977d6d33e981
|
|
296
296
|
occurred_at: 2026-09-25T21:00
|
|
297
297
|
film: "[[Charade]]"
|
|
298
298
|
where: home
|
|
@@ -311,7 +311,7 @@ You edit `datanotes/main/public/film/Metropolis.md` by hand, outside the engine.
|
|
|
311
311
|
```markdown
|
|
312
312
|
---
|
|
313
313
|
table: main.public.film
|
|
314
|
-
id:
|
|
314
|
+
id: 01a13bd7-4bf3-7a1e-b23c-2769c0dc41d3
|
|
315
315
|
year: 1927
|
|
316
316
|
minutes: 153
|
|
317
317
|
status: to watch
|
|
@@ -384,7 +384,7 @@ You edit `datanotes/main/public/film/Sherlock Jr..md` by hand, outside the engin
|
|
|
384
384
|
```markdown
|
|
385
385
|
---
|
|
386
386
|
table: main.public.film
|
|
387
|
-
id:
|
|
387
|
+
id: 01a13bd7-3226-73d9-ba6b-80f93c52766a
|
|
388
388
|
title: Sherlock Jr.: the projectionist
|
|
389
389
|
year: 1924
|
|
390
390
|
status: watched
|
|
@@ -471,7 +471,7 @@ You edit `datanotes/main/public/film/Sherlock Jr..md` by hand, outside the engin
|
|
|
471
471
|
```markdown
|
|
472
472
|
---
|
|
473
473
|
table: main.public.film
|
|
474
|
-
id:
|
|
474
|
+
id: 01a13bd7-3226-73d9-ba6b-80f93c52766a
|
|
475
475
|
title: "Sherlock Jr.: the projectionist"
|
|
476
476
|
year: 1924
|
|
477
477
|
status: watched
|
|
@@ -30,7 +30,7 @@ Answer:
|
|
|
30
30
|
"ok": true,
|
|
31
31
|
"op": "define_base",
|
|
32
32
|
"planned_texts": ["datanotes/metastore.yaml"],
|
|
33
|
-
"migration_id": "
|
|
33
|
+
"migration_id": "20261014T191534-define_base-create-base-entry"
|
|
34
34
|
}
|
|
35
35
|
```
|
|
36
36
|
|
|
@@ -50,7 +50,7 @@ Answer:
|
|
|
50
50
|
"commits": [
|
|
51
51
|
{ "table": "diary.classics.film", "version": 6, "operation": "SET TABLE BASES" }
|
|
52
52
|
],
|
|
53
|
-
"migration_id": "
|
|
53
|
+
"migration_id": "20261014T191534-set_table_bases-diary-classics-film-extends-en"
|
|
54
54
|
}
|
|
55
55
|
```
|
|
56
56
|
|
|
@@ -118,14 +118,14 @@ Answer:
|
|
|
118
118
|
"rows": [
|
|
119
119
|
{
|
|
120
120
|
"path": "datanotes/diary/classics/actors/Max Schreck.md",
|
|
121
|
-
"id": "
|
|
121
|
+
"id": "01a13bd7-65fe-747a-b7cc-7c6c8d09e39d",
|
|
122
122
|
"added_on": "2026-10-05",
|
|
123
123
|
"note": "The face of Nosferatu",
|
|
124
124
|
"_source": "diary.classics.actors"
|
|
125
125
|
},
|
|
126
126
|
{
|
|
127
127
|
"path": "datanotes/diary/classics/film/Nosferatu.md",
|
|
128
|
-
"id": "
|
|
128
|
+
"id": "01a13bd7-659b-7233-a73c-4f8191e95b0e",
|
|
129
129
|
"added_on": "2026-10-05",
|
|
130
130
|
"note": null,
|
|
131
131
|
"_source": "diary.classics.film"
|
|
@@ -169,7 +169,7 @@ Answer:
|
|
|
169
169
|
"commits": [
|
|
170
170
|
{ "table": "diary.classics.actors", "version": 3, "operation": "DEFINE BASE" }
|
|
171
171
|
],
|
|
172
|
-
"migration_id": "
|
|
172
|
+
"migration_id": "20261014T191534-define_base-alter-base-entry"
|
|
173
173
|
}
|
|
174
174
|
```
|
|
175
175
|
|
|
@@ -246,7 +246,7 @@ Answer:
|
|
|
246
246
|
"commits": [
|
|
247
247
|
{ "table": "diary.classics.actors", "version": 4, "operation": "DEFINE BASE" }
|
|
248
248
|
],
|
|
249
|
-
"migration_id": "
|
|
249
|
+
"migration_id": "20261014T191534-define_base-alter-base-entry-2"
|
|
250
250
|
}
|
|
251
251
|
```
|
|
252
252
|
|
|
@@ -280,7 +280,7 @@ Answer:
|
|
|
280
280
|
"ok": true,
|
|
281
281
|
"op": "define_base",
|
|
282
282
|
"planned_texts": ["datanotes/metastore.yaml"],
|
|
283
|
-
"migration_id": "
|
|
283
|
+
"migration_id": "20261014T191534-define_base-create-base-credited"
|
|
284
284
|
}
|
|
285
285
|
```
|
|
286
286
|
|
|
@@ -300,7 +300,7 @@ Answer:
|
|
|
300
300
|
"commits": [
|
|
301
301
|
{ "table": "diary.classics.actors", "version": 5, "operation": "SET TABLE BASES" }
|
|
302
302
|
],
|
|
303
|
-
"migration_id": "
|
|
303
|
+
"migration_id": "20261014T191534-set_table_bases-diary-classics-actors-extends--2"
|
|
304
304
|
}
|
|
305
305
|
```
|
|
306
306
|
|
|
@@ -329,7 +329,7 @@ Answer:
|
|
|
329
329
|
"ok": true,
|
|
330
330
|
"op": "define_base",
|
|
331
331
|
"planned_texts": ["datanotes/metastore.yaml"],
|
|
332
|
-
"migration_id": "
|
|
332
|
+
"migration_id": "20261014T191534-define_base-create-base-tree"
|
|
333
333
|
}
|
|
334
334
|
```
|
|
335
335
|
|
|
@@ -369,7 +369,7 @@ Answer:
|
|
|
369
369
|
"commits": [
|
|
370
370
|
{ "table": "diary.classics.genre", "version": 1, "operation": "SET TABLE BASES" }
|
|
371
371
|
],
|
|
372
|
-
"migration_id": "
|
|
372
|
+
"migration_id": "20261014T191534-set_table_bases-diary-classics-genre-extends-t"
|
|
373
373
|
}
|
|
374
374
|
```
|
|
375
375
|
|
|
@@ -475,6 +475,6 @@ Answer:
|
|
|
475
475
|
"operation": "SET TABLE BASES"
|
|
476
476
|
}
|
|
477
477
|
],
|
|
478
|
-
"migration_id": "
|
|
478
|
+
"migration_id": "20261014T191534-set_table_bases-diary-classics-genre_draft-ext"
|
|
479
479
|
}
|
|
480
480
|
```
|
|
@@ -63,7 +63,7 @@ Answer:
|
|
|
63
63
|
"commits": [
|
|
64
64
|
{ "table": "diary.classics.film", "version": 0, "operation": "CREATE TABLE" }
|
|
65
65
|
],
|
|
66
|
-
"migration_id": "
|
|
66
|
+
"migration_id": "20261014T191534-create_table-create-table-diary-classics-fi"
|
|
67
67
|
}
|
|
68
68
|
```
|
|
69
69
|
|
|
@@ -91,7 +91,7 @@ Answer:
|
|
|
91
91
|
"files_created": 1,
|
|
92
92
|
"planned_creates": ["datanotes/diary/classics/film/Nosferatu.md"],
|
|
93
93
|
"commits": [{ "table": "diary.classics.film", "version": 1, "operation": "WRITE" }],
|
|
94
|
-
"migration_id": "
|
|
94
|
+
"migration_id": "20261014T191534-insert_row-insert-into-film"
|
|
95
95
|
}
|
|
96
96
|
```
|
|
97
97
|
|
|
@@ -127,7 +127,7 @@ Answer:
|
|
|
127
127
|
"commits": [
|
|
128
128
|
{ "table": "diary.classics.film", "version": 3, "operation": "ALTER TABLE" }
|
|
129
129
|
],
|
|
130
|
-
"migration_id": "
|
|
130
|
+
"migration_id": "20261014T191534-alter_table-alter-table-diary-classics-fil-2"
|
|
131
131
|
}
|
|
132
132
|
```
|
|
133
133
|
|
|
@@ -144,7 +144,7 @@ Answer:
|
|
|
144
144
|
"ok": true,
|
|
145
145
|
"op": "comment_on",
|
|
146
146
|
"planned_texts": ["datanotes/metastore.yaml"],
|
|
147
|
-
"migration_id": "
|
|
147
|
+
"migration_id": "20261014T191534-comment_on-comment-on-catalog-diary"
|
|
148
148
|
}
|
|
149
149
|
```
|
|
150
150
|
|
|
@@ -165,7 +165,7 @@ Answer:
|
|
|
165
165
|
"ok": true,
|
|
166
166
|
"op": "comment_on",
|
|
167
167
|
"planned_texts": ["datanotes/metastore.yaml"],
|
|
168
|
-
"migration_id": "
|
|
168
|
+
"migration_id": "20261014T191534-comment_on-comment-on-schema-diary-classi"
|
|
169
169
|
}
|
|
170
170
|
```
|
|
171
171
|
|
|
@@ -173,7 +173,7 @@ Answer:
|
|
|
173
173
|
|
|
174
174
|
```yaml
|
|
175
175
|
# Metastore (Datanotes): catalogs, schemas, tables, columns, views.
|
|
176
|
-
id:
|
|
176
|
+
id: 01a13bd7-658e-7cd5-b7f5-0b4bc7c37f45
|
|
177
177
|
config:
|
|
178
178
|
history: true
|
|
179
179
|
|
|
@@ -270,7 +270,7 @@ Answer:
|
|
|
270
270
|
"commits": [
|
|
271
271
|
{ "table": "diary.classics.film", "version": 4, "operation": "ALTER TABLE" }
|
|
272
272
|
],
|
|
273
|
-
"migration_id": "
|
|
273
|
+
"migration_id": "20261014T191534-alter_table-alter-table-diary-classics-fil-3"
|
|
274
274
|
}
|
|
275
275
|
```
|
|
276
276
|
|
|
@@ -287,7 +287,7 @@ Answer:
|
|
|
287
287
|
"ok": true,
|
|
288
288
|
"op": "comment_on",
|
|
289
289
|
"planned_texts": ["datanotes/metastore.yaml"],
|
|
290
|
-
"migration_id": "
|
|
290
|
+
"migration_id": "20261014T191534-comment_on-remove-the-comment-on-schema-d"
|
|
291
291
|
}
|
|
292
292
|
```
|
|
293
293
|
|
|
@@ -309,7 +309,7 @@ Answer:
|
|
|
309
309
|
"commits": [
|
|
310
310
|
{ "table": "diary.classics.film", "version": 5, "operation": "ALTER TABLE" }
|
|
311
311
|
],
|
|
312
|
-
"migration_id": "
|
|
312
|
+
"migration_id": "20261014T191534-alter_table-alter-table-diary-classics-fil-4"
|
|
313
313
|
}
|
|
314
314
|
```
|
|
315
315
|
|
|
@@ -593,7 +593,7 @@ This is the database of this page as the engine wrote it. `metastore.yaml` holds
|
|
|
593
593
|
|
|
594
594
|
```yaml
|
|
595
595
|
# Metastore (Datanotes): catalogs, schemas, tables, columns, views.
|
|
596
|
-
id:
|
|
596
|
+
id: 01a13bd7-658e-7cd5-b7f5-0b4bc7c37f45
|
|
597
597
|
config:
|
|
598
598
|
history: true
|
|
599
599
|
default_catalog: diary
|
|
@@ -35,7 +35,7 @@ Answer:
|
|
|
35
35
|
"op": "add_column",
|
|
36
36
|
"planned_texts": ["datanotes/metastore.yaml"],
|
|
37
37
|
"commits": [{ "table": "main.public.film", "version": 3, "operation": "ADD COLUMNS" }],
|
|
38
|
-
"migration_id": "
|
|
38
|
+
"migration_id": "20261014T191516-add_column-add-column-minutes-to-film"
|
|
39
39
|
}
|
|
40
40
|
```
|
|
41
41
|
|
|
@@ -118,7 +118,7 @@ Answer:
|
|
|
118
118
|
],
|
|
119
119
|
"planned_texts": ["datanotes/metastore.yaml"],
|
|
120
120
|
"commits": [{ "table": "main.public.film", "version": 5, "operation": "ADD COLUMNS" }],
|
|
121
|
-
"migration_id": "
|
|
121
|
+
"migration_id": "20261014T191516-add_column-add-column-favourite-to-film"
|
|
122
122
|
}
|
|
123
123
|
```
|
|
124
124
|
|
|
@@ -176,7 +176,7 @@ Answer:
|
|
|
176
176
|
"op": "add_column",
|
|
177
177
|
"planned_texts": ["datanotes/metastore.yaml"],
|
|
178
178
|
"commits": [{ "table": "main.public.film", "version": 6, "operation": "ADD COLUMNS" }],
|
|
179
|
-
"migration_id": "
|
|
179
|
+
"migration_id": "20261014T191516-add_column-add-column-status-to-film"
|
|
180
180
|
}
|
|
181
181
|
```
|
|
182
182
|
|
|
@@ -283,7 +283,7 @@ Answer:
|
|
|
283
283
|
],
|
|
284
284
|
"planned_texts": ["datanotes/metastore.yaml"],
|
|
285
285
|
"commits": [{ "table": "main.public.film", "version": 9, "operation": "UPDATE" }],
|
|
286
|
-
"migration_id": "
|
|
286
|
+
"migration_id": "20261014T191516-rename_value-rename-film-status-value-seen-"
|
|
287
287
|
}
|
|
288
288
|
```
|
|
289
289
|
|
|
@@ -338,7 +338,7 @@ Answer:
|
|
|
338
338
|
"commits": [
|
|
339
339
|
{ "table": "main.public.film", "version": 10, "operation": "CHANGE COLUMN" }
|
|
340
340
|
],
|
|
341
|
-
"migration_id": "
|
|
341
|
+
"migration_id": "20261014T191516-alter_column-alter-column-status-in-film"
|
|
342
342
|
}
|
|
343
343
|
```
|
|
344
344
|
|
|
@@ -402,7 +402,7 @@ Answer:
|
|
|
402
402
|
"commits": [
|
|
403
403
|
{ "table": "main.public.film", "version": 11, "operation": "CHANGE COLUMN" }
|
|
404
404
|
],
|
|
405
|
-
"migration_id": "
|
|
405
|
+
"migration_id": "20261014T191516-alter_column-alter-column-minutes-in-film"
|
|
406
406
|
}
|
|
407
407
|
```
|
|
408
408
|
|
|
@@ -424,7 +424,7 @@ Answer:
|
|
|
424
424
|
"commits": [
|
|
425
425
|
{ "table": "main.public.film", "version": 12, "operation": "CHANGE COLUMN" }
|
|
426
426
|
],
|
|
427
|
-
"migration_id": "
|
|
427
|
+
"migration_id": "20261014T191516-alter_column-alter-column-minutes-in-film-2"
|
|
428
428
|
}
|
|
429
429
|
```
|
|
430
430
|
|
|
@@ -454,7 +454,7 @@ Answer:
|
|
|
454
454
|
"commits": [
|
|
455
455
|
{ "table": "main.public.film", "version": 13, "operation": "CHANGE COLUMN" }
|
|
456
456
|
],
|
|
457
|
-
"migration_id": "
|
|
457
|
+
"migration_id": "20261014T191516-alter_column-alter-column-minutes-in-film-3"
|
|
458
458
|
}
|
|
459
459
|
```
|
|
460
460
|
|
|
@@ -463,7 +463,7 @@ Answer:
|
|
|
463
463
|
```markdown
|
|
464
464
|
---
|
|
465
465
|
table: main.public.film
|
|
466
|
-
id:
|
|
466
|
+
id: 01a13bd7-202e-7c62-8e4b-2c4acb10d381
|
|
467
467
|
title: Nosferatu
|
|
468
468
|
year: 1922
|
|
469
469
|
favourite: false
|
|
@@ -490,7 +490,7 @@ Answer:
|
|
|
490
490
|
"commits": [
|
|
491
491
|
{ "table": "main.public.film", "version": 14, "operation": "CHANGE COLUMN" }
|
|
492
492
|
],
|
|
493
|
-
"migration_id": "
|
|
493
|
+
"migration_id": "20261014T191516-alter_column-alter-column-minutes-in-film-4"
|
|
494
494
|
}
|
|
495
495
|
```
|
|
496
496
|
|
|
@@ -499,7 +499,7 @@ Answer:
|
|
|
499
499
|
```markdown
|
|
500
500
|
---
|
|
501
501
|
table: main.public.film
|
|
502
|
-
id:
|
|
502
|
+
id: 01a13bd7-202e-7c62-8e4b-2c4acb10d381
|
|
503
503
|
title: Nosferatu
|
|
504
504
|
year: 1922
|
|
505
505
|
favourite: false
|
|
@@ -541,7 +541,7 @@ Answer:
|
|
|
541
541
|
"commits": [
|
|
542
542
|
{ "table": "main.public.film", "version": 15, "operation": "RENAME COLUMN" }
|
|
543
543
|
],
|
|
544
|
-
"migration_id": "
|
|
544
|
+
"migration_id": "20261014T191517-rename_column-rename-column-favourite-to-lov"
|
|
545
545
|
}
|
|
546
546
|
```
|
|
547
547
|
|
|
@@ -603,14 +603,14 @@ Answer:
|
|
|
603
603
|
],
|
|
604
604
|
"planned_texts": ["datanotes/metastore.yaml"],
|
|
605
605
|
"commits": [{ "table": "main.public.film", "version": 16, "operation": "DROP COLUMNS" }],
|
|
606
|
-
"migration_id": "
|
|
606
|
+
"migration_id": "20261014T191517-drop_column-drop-column-loved_it-from-film"
|
|
607
607
|
}
|
|
608
608
|
```
|
|
609
609
|
|
|
610
610
|
**`undo_migration`**
|
|
611
611
|
|
|
612
612
|
```json
|
|
613
|
-
{ "migration_id": "
|
|
613
|
+
{ "migration_id": "20261014T191517-drop_column-drop-column-loved_it-from-film" }
|
|
614
614
|
```
|
|
615
615
|
|
|
616
616
|
Answer:
|
|
@@ -619,8 +619,8 @@ Answer:
|
|
|
619
619
|
{
|
|
620
620
|
"ok": true,
|
|
621
621
|
"op": "undo_migration",
|
|
622
|
-
"undoes": "
|
|
623
|
-
"migration_id": "
|
|
622
|
+
"undoes": "20261014T191517-drop_column-drop-column-loved_it-from-film",
|
|
623
|
+
"migration_id": "20261014T191517-undo_migration-undo-20261014t191517-drop_colu",
|
|
624
624
|
"conflicts": [],
|
|
625
625
|
"failed": []
|
|
626
626
|
}
|
|
@@ -681,7 +681,7 @@ Answer:
|
|
|
681
681
|
"op": "add_column",
|
|
682
682
|
"planned_texts": ["datanotes/metastore.yaml"],
|
|
683
683
|
"commits": [{ "table": "main.public.film", "version": 18, "operation": "ADD COLUMNS" }],
|
|
684
|
-
"migration_id": "
|
|
684
|
+
"migration_id": "20261014T191517-add_column-add-column-added-to-film"
|
|
685
685
|
}
|
|
686
686
|
```
|
|
687
687
|
|
|
@@ -714,7 +714,7 @@ Answer:
|
|
|
714
714
|
"files_created": 1,
|
|
715
715
|
"planned_creates": ["datanotes/main/public/film/Sherlock Jr..md"],
|
|
716
716
|
"commits": [{ "table": "main.public.film", "version": 20, "operation": "WRITE" }],
|
|
717
|
-
"migration_id": "
|
|
717
|
+
"migration_id": "20261014T191517-insert_row-insert-into-film"
|
|
718
718
|
}
|
|
719
719
|
```
|
|
720
720
|
|
|
@@ -723,12 +723,12 @@ Answer:
|
|
|
723
723
|
```markdown
|
|
724
724
|
---
|
|
725
725
|
table: main.public.film
|
|
726
|
-
id:
|
|
726
|
+
id: 01a13bd7-21f8-7d21-ae5f-b7cf709c9cfb
|
|
727
727
|
loved_it: false
|
|
728
728
|
title: Sherlock Jr.
|
|
729
729
|
year: 1924
|
|
730
|
-
added: 2026-10-
|
|
731
|
-
added_at: 2026-10-
|
|
730
|
+
added: 2026-10-14
|
|
731
|
+
added_at: 2026-10-14T19:15:17Z
|
|
732
732
|
---
|
|
733
733
|
```
|
|
734
734
|
|
|
@@ -759,7 +759,7 @@ Answer:
|
|
|
759
759
|
"op": "add_column",
|
|
760
760
|
"planned_texts": ["datanotes/metastore.yaml"],
|
|
761
761
|
"commits": [{ "table": "main.public.film", "version": 21, "operation": "ADD COLUMNS" }],
|
|
762
|
-
"migration_id": "
|
|
762
|
+
"migration_id": "20261014T191517-add_column-add-column-seen_at-to-film"
|
|
763
763
|
}
|
|
764
764
|
```
|
|
765
765
|
|
|
@@ -784,7 +784,7 @@ Answer:
|
|
|
784
784
|
"op": "add_column",
|
|
785
785
|
"planned_texts": ["datanotes/metastore.yaml"],
|
|
786
786
|
"commits": [{ "table": "main.public.film", "version": 22, "operation": "ADD COLUMNS" }],
|
|
787
|
-
"migration_id": "
|
|
787
|
+
"migration_id": "20261014T191517-add_column-add-column-viewings-to-film"
|
|
788
788
|
}
|
|
789
789
|
```
|
|
790
790
|
|
|
@@ -833,7 +833,7 @@ Answer:
|
|
|
833
833
|
}
|
|
834
834
|
],
|
|
835
835
|
"commits": [{ "table": "main.public.film", "version": 23, "operation": "UPDATE" }],
|
|
836
|
-
"migration_id": "
|
|
836
|
+
"migration_id": "20261014T191517-update_row-update-film"
|
|
837
837
|
}
|
|
838
838
|
```
|
|
839
839
|
|
|
@@ -842,7 +842,7 @@ Answer:
|
|
|
842
842
|
```markdown
|
|
843
843
|
---
|
|
844
844
|
table: main.public.film
|
|
845
|
-
id:
|
|
845
|
+
id: 01a13bd7-202e-7c62-8e4b-2c4acb10d381
|
|
846
846
|
title: Nosferatu
|
|
847
847
|
year: 1922
|
|
848
848
|
loved_it: false
|
|
@@ -942,7 +942,7 @@ Answer:
|
|
|
942
942
|
"op": "create_table",
|
|
943
943
|
"planned_texts": ["datanotes/metastore.yaml"],
|
|
944
944
|
"commits": [{ "table": "main.public.watch", "version": 0, "operation": "CREATE TABLE" }],
|
|
945
|
-
"migration_id": "
|
|
945
|
+
"migration_id": "20261014T191517-create_table-create-table-main-public-watch"
|
|
946
946
|
}
|
|
947
947
|
```
|
|
948
948
|
|
|
@@ -968,7 +968,7 @@ Answer:
|
|
|
968
968
|
"files_created": 1,
|
|
969
969
|
"planned_creates": ["datanotes/main/public/watch/2026-10-03T2130.md"],
|
|
970
970
|
"commits": [{ "table": "main.public.watch", "version": 1, "operation": "WRITE" }],
|
|
971
|
-
"migration_id": "
|
|
971
|
+
"migration_id": "20261014T191517-insert_row-insert-into-watch"
|
|
972
972
|
}
|
|
973
973
|
```
|
|
974
974
|
|
|
@@ -977,7 +977,7 @@ Answer:
|
|
|
977
977
|
```markdown
|
|
978
978
|
---
|
|
979
979
|
table: main.public.watch
|
|
980
|
-
id:
|
|
980
|
+
id: 01a13bd7-2222-7352-9dea-dd1d7658c61f
|
|
981
981
|
film: His Girl Friday
|
|
982
982
|
occurred_at: 2026-10-03T21:30
|
|
983
983
|
where: home
|
|
@@ -1037,7 +1037,7 @@ Answer:
|
|
|
1037
1037
|
"op": "add_column",
|
|
1038
1038
|
"planned_texts": ["datanotes/metastore.yaml"],
|
|
1039
1039
|
"commits": [{ "table": "main.public.film", "version": 24, "operation": "ADD COLUMNS" }],
|
|
1040
|
-
"migration_id": "
|
|
1040
|
+
"migration_id": "20261014T191517-add_column-add-column-note_name-to-film"
|
|
1041
1041
|
}
|
|
1042
1042
|
```
|
|
1043
1043
|
|
|
@@ -1058,7 +1058,7 @@ Answer:
|
|
|
1058
1058
|
"op": "add_column",
|
|
1059
1059
|
"planned_texts": ["datanotes/metastore.yaml"],
|
|
1060
1060
|
"commits": [{ "table": "main.public.film", "version": 25, "operation": "ADD COLUMNS" }],
|
|
1061
|
-
"migration_id": "
|
|
1061
|
+
"migration_id": "20261014T191517-add_column-add-column-created-to-film"
|
|
1062
1062
|
}
|
|
1063
1063
|
```
|
|
1064
1064
|
|
|
@@ -1077,7 +1077,7 @@ Answer:
|
|
|
1077
1077
|
"files_created": 1,
|
|
1078
1078
|
"planned_creates": ["datanotes/main/public/film/Charade.md"],
|
|
1079
1079
|
"commits": [{ "table": "main.public.film", "version": 26, "operation": "WRITE" }],
|
|
1080
|
-
"migration_id": "
|
|
1080
|
+
"migration_id": "20261014T191517-insert_row-insert-into-film-2"
|
|
1081
1081
|
}
|
|
1082
1082
|
```
|
|
1083
1083
|
|
|
@@ -1086,14 +1086,14 @@ Answer:
|
|
|
1086
1086
|
```markdown
|
|
1087
1087
|
---
|
|
1088
1088
|
table: main.public.film
|
|
1089
|
-
id:
|
|
1089
|
+
id: 01a13bd7-223d-75c4-8572-19a49cc2213a
|
|
1090
1090
|
loved_it: false
|
|
1091
1091
|
title: Charade
|
|
1092
1092
|
year: 1963
|
|
1093
|
-
added: 2026-10-
|
|
1094
|
-
added_at: 2026-10-
|
|
1093
|
+
added: 2026-10-14
|
|
1094
|
+
added_at: 2026-10-14T19:15:17Z
|
|
1095
1095
|
note_name: Charade
|
|
1096
|
-
created: 2026-10-
|
|
1096
|
+
created: 2026-10-14T19:15:17Z
|
|
1097
1097
|
---
|
|
1098
1098
|
```
|
|
1099
1099
|
|
|
@@ -1134,7 +1134,7 @@ Answer:
|
|
|
1134
1134
|
"op": "create_table",
|
|
1135
1135
|
"planned_texts": ["datanotes/metastore.yaml"],
|
|
1136
1136
|
"commits": [{ "table": "main.public.actor", "version": 0, "operation": "CREATE TABLE" }],
|
|
1137
|
-
"migration_id": "
|
|
1137
|
+
"migration_id": "20261014T191518-create_table-create-table-main-public-actor"
|
|
1138
1138
|
}
|
|
1139
1139
|
```
|
|
1140
1140
|
|
|
@@ -1153,7 +1153,7 @@ Answer:
|
|
|
1153
1153
|
"files_created": 1,
|
|
1154
1154
|
"planned_creates": ["datanotes/main/public/actor/1904/Cary Grant.md"],
|
|
1155
1155
|
"commits": [{ "table": "main.public.actor", "version": 1, "operation": "WRITE" }],
|
|
1156
|
-
"migration_id": "
|
|
1156
|
+
"migration_id": "20261014T191518-insert_row-insert-into-actor"
|
|
1157
1157
|
}
|
|
1158
1158
|
```
|
|
1159
1159
|
|
|
@@ -1190,7 +1190,7 @@ The engine wrote this file with the columns from this page, in the operations’
|
|
|
1190
1190
|
|
|
1191
1191
|
```yaml
|
|
1192
1192
|
# Metastore (Datanotes): catalogs, schemas, tables, columns, views.
|
|
1193
|
-
id:
|
|
1193
|
+
id: 01a13bd7-1ff8-7e93-bda4-3865c8e2ab87
|
|
1194
1194
|
config:
|
|
1195
1195
|
history: true
|
|
1196
1196
|
|