Ash FrameworkAF
Ash Framework4mo ago
16 replies
Songyun

Primary key not guaranteed unique?

I configured a column on my resource with primary_key? true and noticed that I can insert multiple records with the same key. Is that intended behavior? I figured for a primary key I should not need to set up a separate identity.
Solution
primary_key? true on multiple attributes creates a composite primary key
Was this page helpful?