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

improvement: add :primary_key_type option #103

Merged
merged 4 commits into from
Aug 19, 2024
Merged

improvement: add :primary_key_type option #103

merged 4 commits into from
Aug 19, 2024

Conversation

aifrak
Copy link
Contributor

@aifrak aifrak commented Aug 18, 2024

Contributor checklist

  • Bug fixes include regression tests
  • Features include unit/acceptance tests

This PR adds :primary_key_type to give the option to choose between :uuid (default), :uuid_v7 and :integer for the primary key.

The test for :integer is a special case and I have let a comment there.

:primary_key_type is also added to .formatter.exs.

@rgraff
Copy link
Contributor

rgraff commented Aug 18, 2024

@aifrak this is great. Thank you!

There are a couple of CI issues to address that you can address or I will when I have a moment.

@aifrak
Copy link
Contributor Author

aifrak commented Aug 19, 2024

@rgraff Thank you for your feedback.

I have pushed fixes that should normally make the CI green again.

@rgraff rgraff merged commit 6c6d772 into ash-project:main Aug 19, 2024
15 checks passed
@rgraff
Copy link
Contributor

rgraff commented Aug 19, 2024

@aifrak Thank you for your contribution 🚀

@aifrak aifrak deleted the add-id-type branch August 19, 2024 17:15
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.

2 participants