Skip to content

Commit cb83300

Browse files
committed
A uuid is TEXT or BLOB.
1 parent 6f395fe commit cb83300

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/ecto/adapters/sqlite3/data_type_test.exs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ defmodule Ecto.Adapters.SQLite3.DataTypeTest do
3131

3232
Application.put_env(:ecto_sqlite3, :binary_id_type, :binary)
3333

34-
assert DataType.column_type(:binary_id, nil) == "UUID"
34+
assert DataType.column_type(:binary_id, nil) == "BLOB"
3535
end
3636

3737
test ":string is TEXT" do
@@ -43,7 +43,7 @@ defmodule Ecto.Adapters.SQLite3.DataTypeTest do
4343

4444
Application.put_env(:ecto_sqlite3, :uuid_type, :binary)
4545

46-
assert DataType.column_type(:uuid, nil) == "UUID"
46+
assert DataType.column_type(:uuid, nil) == "BLOB"
4747
end
4848

4949
test ":map is JSON" do

0 commit comments

Comments
 (0)