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

feat(api): Migrate object IDs to use ulid instead. #1667

Draft
wants to merge 1 commit into
base: feature/teller
Choose a base branch
from

Conversation

elliotcourant
Copy link
Member

This is a start of a project to migrate all of monetr's object IDs to
use ulid instead of an unsigned 64 bit integer. This migration would
benefit monetr in a lot of ways, but the biggest ones are:

  • Better support for a SQLite datastore in the future.
  • More efficient bulk insert of data, IDs for everything can be
    generated ahead of the insert. Including foreign key data. Allowing
    large sync jobs to be far more efficient in their operations.
  • More URL friendly.

This is a start of a project to migrate all of monetr's object IDs to
use ulid instead of an unsigned 64 bit integer. This migration would
benefit monetr in a lot of ways, but the biggest ones are:

- Better support for a SQLite datastore in the future.
- More efficient bulk insert of data, IDs for everything can be
  generated ahead of the insert. Including foreign key data. Allowing
  large sync jobs to be far more efficient in their operations.
- More URL friendly.
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