我正在尝试创建迁移。这是输出
MIX_ENV=prod DATABASE_URL="URL" mix ecto.migrate
[info] execute "CREATE EXTENSION citext;"
** (Postgrex.Error) ERROR 42501 (insufficient_privilege): permission denied to create extension "citext"
但是直到现在它一直在dev
模式下工作。
我确实尝试了
ALTER USER user WITH SUPERUSER
并安装了postgresql-contrib
包
但没有任何作用。