Closed rafaelfess closed 4 years ago
Hi @rafaelfesi! PhxGenAuth is compatible with MySQL and it's tested as part of our integration tests here: https://github.com/aaronrenner/phx_gen_auth/blob/master/test/mix/tasks/phx_gen_auth/integration_tests/mysql_app_test.exs
Citext is a postgres only extension and shouldn't have been generated in your migrations. It seems like Postgres was the active adapter when the generator was run (either via config/config.exs or config/dev.exs). I'd suggest removing all of the PhxGenAuth code, ensuring that the database adapter is configured correctly, and then rerunning the generators.
Let me know how that works!
Closing per the above. :)
Just ran into an issue trying out the generator with TiDB (a MySQL compatible database - TiDB is fully compatible with the MySQL 5.7 protocol).
I've not found MySQL documentation for
citext
, only for PostgreSQL. So I was wondering if it isn't compatible with a MySQL database because of a specific PostgreSQL's function.