Setting the default foreign key type in Ash!
The default foreign key type is
:uuid
, and you can change it with attribute_type
on a relationship, eg.
But if you're working with an existing database schema that has all-integer foreign keys, for example, you can change the default in your config file:
Now you don't have to specify it on every single relationship! ✨0 Replies