Skip to content

allow custom default for uuid#95

Open
djpate wants to merge 6 commits intorkrage:masterfrom
djpate:master
Open

allow custom default for uuid#95
djpate wants to merge 6 commits intorkrage:masterfrom
djpate:master

Conversation

@djpate
Copy link

@djpate djpate commented Mar 27, 2025

I'm using uuiv7 for my ids and I would like to be able to override the default for uuid primary keys.

the MR enables the following :

create_range_partition :some_table, id: :uuid, default: -> { 'uuidv7()' }, partition_key: :created_at do |t|
  t.timestamps
end

spec.add_development_dependency "base64", "~> 0.2.0"
spec.add_development_dependency "bigdecimal", "~> 3.1"
spec.add_development_dependency "mutex_m", "~> 0.3.0"
spec.add_development_dependency "drb", "~> 2.2"
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's the reasoning for these new dependencies?

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.

3 participants