:mnesia lets you configure custom directories for the database but if the directory doesn't exist, it crashes when creating schema (in the case of nested directories).
This also causes the mix amnesia.create task to crash for custom paths. This pull fixes this by creating the configured directory for mnesia before creating the schema (if the configuration value is specified).
:mnesia
lets you configure custom directories for the database but if the directory doesn't exist, it crashes when creating schema (in the case of nested directories).This also causes the
mix amnesia.create
task to crash for custom paths. This pull fixes this by creating the configured directory formnesia
before creating the schema (if the configuration value is specified).