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

Add content_hash to feed_items #183

Merged
merged 5 commits into from
Jan 8, 2022
Merged

Conversation

ayrat555
Copy link
Owner

@ayrat555 ayrat555 commented Jan 7, 2022

Currently, for feed_items (feed_id, link, title) are used as primary
key.

combination of link and title for some feeds is too big for some feeds
and can not be used as primary key.

This pr is an attempt to use a generated hash field instead as part of
primary key

For now, this we will start populating a new field

Currently, for `feed_items` (feed_id, link, title) are used as primary
key.

combination of link and title for some feeds is too big for some feeds
and can not be used as primary key.

This pr is an attempt to use a generated hash field instead as part of
primary key
@ayrat555 ayrat555 marked this pull request as ready for review January 8, 2022 10:49
@ayrat555 ayrat555 merged commit 0792c32 into master Jan 8, 2022
@ayrat555 ayrat555 deleted the add-content-hash-for-feed-items branch January 8, 2022 10:50
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

Successfully merging this pull request may close these issues.

None yet

1 participant