Ecto.Adapter.Storage.storage_down

You're seeing just the callback storage_down, go back to Ecto.Adapter.Storage module for more information.

Specs

storage_down(options :: Keyword.t()) ::
  :ok | {:error, :already_down} | {:error, term()}

Drops the storage given by options.

Returns :ok if it was dropped successfully.

Returns {:error, :already_down} if the storage has already been dropped or {:error, term} in case anything else goes wrong.

Examples

storage_down(username: "postgres",
             database: "ecto_test",
             hostname: "localhost")