Skip to content

Commit 8bc50a0

Browse files
committed
Support column type integer
1 parent b3e6590 commit 8bc50a0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/ecto/adapters/sqlite3/data_type.ex

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ defmodule Ecto.Adapters.SQLite3.DataType do
1212
def column_type(:serial, _opts), do: "INTEGER"
1313
def column_type(:bigserial, _opts), do: "INTEGER"
1414
def column_type(:boolean, _opts), do: "INTEGER"
15+
def column_type(:integer, _opts), do: "INTEGER"
1516
def column_type(:bigint, _opts), do: "INTEGER"
1617
def column_type(:string, _opts), do: "TEXT"
1718
def column_type(:float, _opts), do: "NUMERIC"

0 commit comments

Comments
 (0)