Ash FrameworkAF
Ash Framework3y ago
5 replies
moxley

Primary key as string (not UUID)

I have an existing table with a string key. In Ecto, this was generated in the changeset function. In the Ash documentation, there is only integer_primary_key(), and uuid_primary_key(). If I try leaving either of those out, it returns an error that says I need to specify a primary key. How can this be made to work?
Was this page helpful?