From df8029ff872586d0cd951c1ae18b7f818b1c00dc Mon Sep 17 00:00:00 2001 From: Ian Lynagh Date: Tue, 13 Jan 2026 17:24:31 +0000 Subject: [PATCH] tree-sitter: Use more standard shared dbscheme sections We now use the shared "Overlay support" and "Database metadata". --- .../src/generator/prefix.dbscheme | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/shared/tree-sitter-extractor/src/generator/prefix.dbscheme b/shared/tree-sitter-extractor/src/generator/prefix.dbscheme index a52390bed1a..d59777f5e3d 100644 --- a/shared/tree-sitter-extractor/src/generator/prefix.dbscheme +++ b/shared/tree-sitter-extractor/src/generator/prefix.dbscheme @@ -106,11 +106,23 @@ yaml_locations(unique int locatable: @yaml_locatable ref, @yaml_locatable = @yaml_node | @yaml_error; /*- Database metadata -*/ + +/** + * The CLI will automatically emit applicable tuples for this table, + * such as `databaseMetadata("isOverlay", "true")` when building an + * overlay database. + */ databaseMetadata( string metadataKey: string ref, string value: string ref ); +/*- Overlay support -*/ + +/** + * The CLI will automatically emit tuples for each new/modified/deleted file + * when building an overlay database. + */ overlayChangedFiles( string path: string ref );