Skip to content

Commit d033bda

Browse files
committed
don't prefix referenced table names
1 parent 6a44689 commit d033bda

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/ecto/adapters/sqlite3/connection.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1826,7 +1826,7 @@ defmodule Ecto.Adapters.SQLite3.Connection do
18261826
" CONSTRAINT ",
18271827
reference_name(ref, table, name),
18281828
" REFERENCES ",
1829-
quote_table(ref.prefix || table.prefix, ref.table),
1829+
quote_table(nil, ref.table),
18301830
?(,
18311831
quote_name(ref.column),
18321832
?),

0 commit comments

Comments
 (0)