ecto_mnesia v0.6.3 Ecto.Mnesia.Storage
This module provides interface to manage Mnesia state and records data structure.
Summary
Functions
Start the Mnesia database
Stop the Mnesia database
Temporarily stops Mnesia, deletes schema and then brings it back up again
Creates the storage given by options
Functions
Creates the storage given by options.
Returns :ok
if it was created successfully.
Returns {:error, :already_up}
if the storage has already been created or
{:error, term}
in case anything else goes wrong.
Supported copy_type
values: :disc_copies
, :ram_copies
, :disc_only_copies
.
Examples
storage_up(host: `Kernel.node`, storage_type: :disc_copies)