mirror of
https://github.com/aljazceru/turso.git
synced 2026-02-08 17:54:22 +01:00
core: Fix INTEGER data type detection
This commit is contained in:
@@ -98,7 +98,7 @@ fn create_table(tbl_name: QualifiedName, body: CreateTableBody, root_page: usize
|
||||
let ty = match column.col_type {
|
||||
Some(data_type) => {
|
||||
let type_name = data_type.name.as_str();
|
||||
if type_name.contains("INT") {
|
||||
if type_name.contains("INTEGER") {
|
||||
Type::Integer
|
||||
} else if type_name.contains("CHAR")
|
||||
|| type_name.contains("CLOB")
|
||||
|
||||
Reference in New Issue
Block a user