Ash FrameworkAF
Ash Framework3y ago
10 replies
Blibs

How to create a partial index with Ash?

I was wondering, can I create a partial index using identities or some other way with Ash or should I just write a migration manually directly?

For example, how can I do this partial index?

create index(:users, [:id], where: "not \"invalid_token?\"", name: :users_valid_tokens)
Was this page helpful?