-
Notifications
You must be signed in to change notification settings - Fork 12
Store account_id fields as BYTEA
#488
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
Open
aditya1702
wants to merge
32
commits into
db-indexes
Choose a base branch
from
accountid-bytea-txns
base: db-indexes
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
120b252
Add StellarAddress type and update migrations to use BYTEA
aditya1702 fe40b54
Update accounts.go for BYTEA stellar_address column
aditya1702 dee8de5
Update transactions.go for BYTEA account_id column
aditya1702 12b192b
Update query_utils.go for BYTEA account_id conversion
aditya1702 a5df424
Add tests for StellarAddress Scan/Value methods
aditya1702 f8aca24
Fix test failures and IsAccountFeeBumpEligible query
aditya1702 da4c44e
Fix tests
aditya1702 f23fd75
StellarAddress -> AddressBytea
aditya1702 096a08e
Change operations_accounts.account_id from TEXT to BYTEA
aditya1702 705d2a4
Simplify AddressBytea.Scan() to only handle BYTEA
aditya1702 dacec16
Remove AccountIDBytea from query_utils.go
aditya1702 8487254
Remove AccountIDBytea field from operations.go and transactions.go
aditya1702 fa60b23
Update BatchCopy to write account_id as BYTEA
aditya1702 ac3b07e
Update backfill_helpers.go to use BYTEA for account_id
aditya1702 331461b
Update test files for BYTEA operations_accounts.account_id
aditya1702 01b06d3
Update BatchInsert to write account_id as BYTEA
aditya1702 9021603
Fix operations tests for BYTEA account_id
aditya1702 db17bf3
Fix make check issues
aditya1702 ba42d49
Change state_changes account_id columns from TEXT to BYTEA
aditya1702 9c1e726
Add pgtypeBytesFromNullStringAddress helper for BYTEA address conversion
aditya1702 5a10c3b
Change StateChange.AccountID type from string to AddressBytea
aditya1702 e209dc5
Update BatchInsert to write account_id columns as BYTEA
aditya1702 c6c22e9
Update BatchCopy to write account_id columns as BYTEA
aditya1702 3bbc0a7
Update BatchGetByAccountAddress to query BYTEA account_id
aditya1702 e4199c3
Fix all tests
aditya1702 4677df9
Update backfill_helpers.go
aditya1702 af12032
Update backfill_helpers.go
aditya1702 39e24ec
Use NullAddressBytea method for nullable fields of state changes
aditya1702 6fb0b76
fix tests
aditya1702 7c5089e
fix more tests
aditya1702 4ad1ede
fix more tests again
aditya1702 4d825e1
Update account_service_test.go
aditya1702 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 hidden or 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 hidden or 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.
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.
Duplicate comment found. Line 112 duplicates line 113.