mirror of
https://github.com/launchbadge/sqlx
synced 2024-11-10 14:34:19 +00:00
fix(sqite): emit REAL for float columns in SQLite as the docs use that word a lot more
This commit is contained in:
parent
921878ad77
commit
3c3356675e
2 changed files with 1 additions and 1 deletions
0
sqlx-core/src/sqlite/connection/explain.rs
Normal file
0
sqlx-core/src/sqlite/connection/explain.rs
Normal file
|
@ -41,7 +41,7 @@ impl TypeInfo for SqliteTypeInfo {
|
|||
match self.0 {
|
||||
DataType::Null => "NULL",
|
||||
DataType::Text => "TEXT",
|
||||
DataType::Float => "FLOAT",
|
||||
DataType::Float => "REAL",
|
||||
DataType::Blob => "BLOB",
|
||||
DataType::Int | DataType::Int64 => "INTEGER",
|
||||
DataType::Numeric => "NUMERIC",
|
||||
|
|
Loading…
Reference in a new issue