Skip to content
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

Missing unique constraints #2

Open
infinidi4s opened this issue Apr 16, 2021 · 0 comments
Open

Missing unique constraints #2

infinidi4s opened this issue Apr 16, 2021 · 0 comments

Comments

@infinidi4s
Copy link

Hi!

I don't have time to do a pull request yet, I'm just testing it out quickly, but this was missing in SQL for me for streaming to work:

alter table logs add constraint log_pair_uq unique (log_index, transaction_hash);
alter table token_transfers add constraint token_transfers_pair_uq unique (log_index, transaction_hash);

This fixed it, thank you for your work! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant