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 user_id constraint to webpage_activity table #2091

Closed
misaugstad opened this issue May 2, 2020 · 1 comment · Fixed by #3428
Closed

Add user_id constraint to webpage_activity table #2091

misaugstad opened this issue May 2, 2020 · 1 comment · Fixed by #3428

Comments

@misaugstad
Copy link
Member

misaugstad commented May 2, 2020

The webpage_activity table has a user_id column, but it doesn't have a link to the sidewalk_user table like it should. Should be easy to add. Also need to remember to delete webpage_activity entries with no associated user_id when making the evolution.

@misaugstad
Copy link
Member Author

@dylanbun and when you're doing this, if you happen to see any other places where you think we are missing constraints, let me know! Seems like a good chance to clean up the database a bit :)

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

Successfully merging a pull request may close this issue.

2 participants