You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#### Summary
<!-- 🎉 Thank you for making CloudQuery awesome by submitting a PR 🎉 -->
testing matrix (two syncs, different versions for first and second sync
)

<!--
Explain what problem this PR addresses
-->
---
Use the following steps to ensure your PR is ready to be reviewed
- [ ] Read the [contribution guidelines](../blob/main/CONTRIBUTING.md)
🧑🎓
- [ ] Run `go fmt` to format your code 🖊
- [ ] Lint your changes via `golangci-lint run` 🚨 (install golangci-lint
[here](https://golangci-lint.run/usage/install/#local-installation))
- [ ] Update or add tests 🧪
- [ ] Ensure the status checks below are successful ✅
Copy file name to clipboardExpand all lines: schema/meta.go
+25-5Lines changed: 25 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -17,12 +17,32 @@ type Meta struct {
17
17
FetchIDstring`json:"fetch_id,omitempty"`
18
18
}
19
19
20
-
constFetchIDMetaKey="cq_fetch_id"
20
+
// These columns are managed and populated by the source plugins
21
+
varCqIDColumn=Column{
22
+
Name: "_cq_id",
23
+
Type: TypeUUID,
24
+
Description: "Internal CQ ID of the row",
25
+
Resolver: cqUUIDResolver(),
26
+
}
27
+
varCqParentIDColumn=Column{
28
+
Name: "_cq_parent_id",
29
+
Type: TypeUUID,
30
+
Description: "Internal CQ ID of the parent row",
31
+
Resolver: parentCqUUIDResolver(),
32
+
IgnoreInTests: true,
33
+
}
21
34
22
-
varCqIDColumn=Column{Name: "_cq_id", Type: TypeUUID, Description: "Internal CQ ID of the row", Resolver: cqUUIDResolver()}
23
-
varCqParentIDColumn=Column{Name: "_cq_parent_id", Type: TypeUUID, Description: "Internal CQ ID of the parent row", Resolver: parentCqUUIDResolver(), IgnoreInTests: true}
24
-
varCqSyncTime=Column{Name: "_cq_sync_time", Type: TypeTimestamp, Description: "Internal CQ row of when sync was started (this will be the same for all rows in a single fetch)", IgnoreInTests: true}
25
-
varCqSourceName=Column{Name: "_cq_source_name", Type: TypeString, Description: "Internal CQ row that references the source plugin name data was retrieved", IgnoreInTests: true}
35
+
// These columns are managed and populated by the destination plugin.
36
+
varCqSyncTimeColumn=Column{
37
+
Name: "_cq_sync_time",
38
+
Type: TypeTimestamp,
39
+
Description: "Internal CQ row of when sync was started (this will be the same for all rows in a single fetch)",
40
+
}
41
+
varCqSourceNameColumn=Column{
42
+
Name: "_cq_source_name",
43
+
Type: TypeString,
44
+
Description: "Internal CQ row that references the source plugin name data was retrieved",
0 commit comments