Packages
phoenix_ecto
4.6.5
4.7.0
4.6.6
4.6.5
4.6.4
4.6.3
4.6.2
4.6.1
4.6.0
4.5.1
4.5.0
4.4.3
4.4.2
4.4.1
4.4.0
4.3.0
4.2.1
4.2.0
4.1.0
4.0.0
3.6.0
3.5.0
retired
3.4.0
3.3.0
3.2.3
3.2.2
3.2.1
3.2.0
3.1.0
3.1.0-rc.0
3.0.1
3.0.0
3.0.0-rc.0
3.0.0-beta.2
3.0.0-beta.1
3.0.0-beta.0
2.0.3
2.0.2
2.0.1
2.0.0
1.2.0
1.1.0
1.0.0
0.9.0
0.8.1
0.8.0
0.7.0
0.6.0
0.5.0
0.4.0
0.3.2
0.3.1
0.3.0
0.2.0
0.1.0
Integration between Phoenix & Ecto
Current section
Files
Jump to
Current section
Files
lib/phoenix_ecto/exceptions.ex
defmodule Phoenix.Ecto.StorageNotCreatedError do
defexception [:repo]
def message(%__MODULE__{repo: repo}) do
"the storage is not created for repo: #{inspect(repo)}. " <>
"Try running `mix ecto.create` in the command line to create it"
end
end
defmodule Phoenix.Ecto.PendingMigrationError do
@enforce_keys [:repo, :directories, :migration_opts]
defexception [:repo, :directories, :migration_opts]
def message(%__MODULE__{repo: repo}) do
"there are pending migrations for repo: #{inspect(repo)}. " <>
"Try running `mix ecto.migrate` in the command line to migrate it"
end
end