feat(migrations): support boolean type
This commit is contained in:
parent
21c1f2e069
commit
64e1aa33a6
1 changed files with 1 additions and 0 deletions
|
|
@ -16,6 +16,7 @@ impl Field {
|
||||||
"i64" => Some("INTEGER".into()),
|
"i64" => Some("INTEGER".into()),
|
||||||
"f64" => Some("REAL".into()),
|
"f64" => Some("REAL".into()),
|
||||||
"f32" => Some("REAL".into()),
|
"f32" => Some("REAL".into()),
|
||||||
|
"bool" => Some("TINYINT".into()),
|
||||||
"String" => Some("TEXT".into()),
|
"String" => Some("TEXT".into()),
|
||||||
"DateTime" => Some("DATETIME".into()),
|
"DateTime" => Some("DATETIME".into()),
|
||||||
"Json" => Some("TEXT".into()),
|
"Json" => Some("TEXT".into()),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue