Skip to content

Commit c91e561

Browse files
committed
Go: add dbscheme relations for overlay support
1 parent 3c20b95 commit c91e561

File tree

8 files changed

+2258
-0
lines changed

8 files changed

+2258
-0
lines changed

go/downgrades/b1341734d6870b105e5c9d168ce7dec25d7f72d0/go.dbscheme

Lines changed: 552 additions & 0 deletions
Large diffs are not rendered by default.

go/downgrades/b1341734d6870b105e5c9d168ce7dec25d7f72d0/old.dbscheme

Lines changed: 563 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
description: Add databaseMetadata and overlayChangedFiles relations
2+
compatibility: full
3+
databaseMetadata.rel: delete
4+
overlayChangedFiles.rel: delete

go/extractor/dbscheme/tables.go

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,17 @@ externalData(
4343
snapshotDate(unique date snapshotDate : date ref);
4444
4545
sourceLocationPrefix(varchar(900) prefix : string ref);
46+
47+
/** Overlay support **/
48+
49+
databaseMetadata(
50+
string metadataKey: string ref,
51+
string value: string ref
52+
);
53+
54+
overlayChangedFiles(
55+
string path: string ref
56+
);
4657
`)
4758

4859
// Copied directly from the XML dbscheme

go/ql/lib/go.dbscheme

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,17 @@ snapshotDate(unique date snapshotDate : date ref);
3636

3737
sourceLocationPrefix(varchar(900) prefix : string ref);
3838

39+
/** Overlay support **/
40+
41+
databaseMetadata(
42+
string metadataKey: string ref,
43+
string value: string ref
44+
);
45+
46+
overlayChangedFiles(
47+
string path: string ref
48+
);
49+
3950

4051
/*
4152
* XML Files

0 commit comments

Comments
 (0)