mirror of
https://github.com/tursodatabase/limbo.git
synced 2025-08-04 10:08:20 +00:00
fix type null spacing
This commit is contained in:
parent
2cfd209e56
commit
5eca507867
1 changed files with 4 additions and 1 deletions
|
@ -261,6 +261,9 @@ impl BTreeTable {
|
|||
sql.push_str(", ");
|
||||
}
|
||||
sql.push_str(column.name.as_ref().expect("column name is None"));
|
||||
if !matches!(column.ty, Type::Null) {
|
||||
sql.push(' ');
|
||||
}
|
||||
sql.push_str(&column.ty.to_string());
|
||||
|
||||
if column.unique {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue