You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to create example application using Phoenix with Amnesia. But, having trouble creating the database using the mix task which fails with below error. I am not sure the docs that I found from blogs are up to date or I missed something.
mix amnesia.create -d Database --disk
** (Mix) could not load Database, error: :nofile. Please pass a proper database with the --database option.
looks like you haven't created the database module. you need to first define your database (like what's shown in the README here). see how the file uses defdatabase Database? that's the Database identifier in the mix command mix amnesia.create -d Database --disk
Hi,
I am trying to create example application using Phoenix with Amnesia. But, having trouble creating the database using the mix task which fails with below error. I am not sure the docs that I found from blogs are up to date or I missed something.
mix --version
Erlang/OTP 20 [erts-9.2.1] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:10] [hipe] [kernel-poll:false] [dtrace]
Mix 1.6.1 (compiled with OTP 20)
Example Git repo: https://github.com/ganimp84/amnesia_example
The text was updated successfully, but these errors were encountered: