Ecto.Adapter.Storage.storage_up
You're seeing just the callback
storage_up
, go back to Ecto.Adapter.Storage module for more information.
Specs
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.
Examples
storage_up(username: "postgres",
database: "ecto_test",
hostname: "localhost")