type "citext" does not exist
During the "Integrating Ash Authentication and Phoenix" tutorial I get this migration:
That results in the following error:
https://hexdocs.pm/ash_postgres/AshPostgres.Repo.html says that I need to install the
citext
extension. But how do I do that?
There is the following example code but I don't know where to put it.5 Replies
in the repo.ex: see https://github.com/ash-project/ash_hq/blob/main/lib/ash_hq/repo.ex for an example.
GitHub
ash_hq/repo.ex at main · ash-project/ash_hq
The Ash Framework homepage and documentation site. - ash_hq/repo.ex at main · ash-project/ash_hq
I already tried that. Here's is the code of
lib/example/repo.ex
:
Same error message:
generate_migrations step should create an extension migration:
This should be added to the getting started guide that if you are using ash_postgres you need to add that extension and generate migrations
Thanks! That did the trick.
I am currently rewriting the "Getting Started Ash Authentication Phoenix" tutorial. There are a bunch of challenges for newbies in the current documentation. It's a bumpy road. But I am getting there.