-
Notifications
You must be signed in to change notification settings - Fork 202
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(store-sync,store-indexer): add postgres support #1338
Merged
Merged
Changes from all commits
Commits
Show all changes
38 commits
Select commit
Hold shift + click to select a range
723ecfd
wip postgres
holic 513755a
sorta works
holic 5d4b73c
schema -> schemaName
holic 45e6a50
update snapshots
holic cf88351
try setting up postgres in CI
holic e6ec79c
await async expect
holic 091c25d
refactor to infer schema from table object
holic 312e573
wip
holic 5ac8ae2
refactor with namespaces/schemas
holic 8ef9300
refactor table ID handling
holic 4cb7758
refactor schema name transform so it's just a test mock
holic f280a7a
attempt to clean up what we can
holic 8213907
rename
holic 7b93807
postgres indexer
holic 83abbdf
createTable -> buildTable
holic 73c8ba6
clarify naming of storage adapter vs query adapter
holic d5c43fb
add note about bytes types
holic 8a4b7ed
add TODOs
holic 076a3e5
rework tests so we always clean up
holic 6c8e90e
fiddling with binary type
holic fc3585d
clean up DB
holic 0106b0e
remove unused tableToSql
holic 1b4af0d
small tweaks
holic ff3ac7c
improve numeric, bytes column types
holic 168ee40
refactor a bit
holic dcdef22
update test snapshots
holic bae01be
fix e2e postgres setup
holic 2f5761c
ignore e2e worlds.json
holic c6d2074
rework e2e so we can run both sqlite and postgres
holic ea712f9
add a test:local command for ease
holic 2a1fa97
describe.each is nicer
holic 070cf28
Revert "ignore e2e worlds.json"
holic 82500d1
add more logging
holic a94c074
missing env var, clean up
holic a2ee2ea
Merge remote-tracking branch 'origin/main' into holic/postgres-storag…
holic 51944d8
swap BlockLogsToStorageOptions with StorageAdapter
holic 3d7c62b
add HOST config option
holic 03e5e69
zod to dev deps
holic File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
export function identity<T>(value: T): T { | ||
return value; | ||
} |
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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
very cool 👍