-
-
Notifications
You must be signed in to change notification settings - Fork 425
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
[Bug] Items created in the same second may not be shown in the bookmark grid due to pagination #140
Comments
I ran into this issue also just now. Of course this happens a lot if you import a lot of bookmarks using the cli (or in my case the PR to allow importing bookmarks via the UI) I noticed that it is an easy fix in schema.ts by changing I was hoping that would also create a migration of the existing timestamps, but seems like it doesn't. |
@kamtschatka Changing the mode of the column is a software layer thing. You'll have to create an empty migration with As for what you got when you generated a migration, that's actually my fault. I apparently forgot to create a migration when I implemented the URL dedups :) Will get that fixed. |
Pushed c9dc23f to fix the dangling migration problem. |
it would at least alleviate the problem, since that would then affect maybe 1 or 2 bookmarks instead of all of them, if you use the CLI. |
I think fixing the pagination shouldn't be hard. I'll prioritize it specially in the context of your PR to support importing from the UI. |
…revent infinite loops
…event infinite loops (#176) Co-authored-by: kamtschatka <[email protected]>
When we're paginating using
createdAt
only, items created in the same second can result in duplicates or missing items.The text was updated successfully, but these errors were encountered: