-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Dedupe entries when generating schema tables (#5)
Something like this should only generate one table entry for `EmailAddress`: ``` 'emailDomains', (select array_agg(split_part(value, '@', 2)) from "EmailAddress" EA where "personId"="Person".id), 'emailAddresses', (select array_agg(value) from "EmailAddress" EA where "personId"="Person".id), ```
- Loading branch information
Showing
3 changed files
with
12 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[tool.poetry] | ||
name = "sinker" | ||
version = "0.1.1" | ||
version = "0.1.2" | ||
description = "Synchronize Postgres to Elasticsearch" | ||
authors = ["Loren Siebert <[email protected]>"] | ||
license = "MIT/Apache-2.0" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters