Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/ecto/migration.ex
Original file line number Diff line number Diff line change
Expand Up @@ -1297,7 +1297,7 @@ defmodule Ecto.Migration do
index_or_table
true ->
raise Ecto.MigrationError, message:
"the :prefix option `#{prefix}` does match the migrator prefix `#{runner_prefix}`"
"the :prefix option `#{prefix}` does not match the migrator prefix `#{runner_prefix}`"
end
end

Expand Down
2 changes: 1 addition & 1 deletion test/ecto/migration_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -550,7 +550,7 @@ defmodule Ecto.MigrationTest do
@tag prefix: :bar
test "forward: raise error when prefixes don't match" do
assert_raise Ecto.MigrationError,
"the :prefix option `foo` does match the migrator prefix `bar`", fn ->
"the :prefix option `foo` does not match the migrator prefix `bar`", fn ->
create(table(:posts, prefix: "foo"))
flush()
end
Expand Down