mirror of
https://github.com/aljazceru/turso.git
synced 2026-02-08 17:54:22 +01:00
Persist NOT NULL column constraint to schema table
This commit is contained in:
@@ -1033,6 +1033,9 @@ impl BTreeTable {
|
||||
sql.push(' ');
|
||||
sql.push_str(&column.ty_str);
|
||||
}
|
||||
if column.notnull {
|
||||
sql.push_str(" NOT NULL");
|
||||
}
|
||||
|
||||
if column.unique {
|
||||
sql.push_str(" UNIQUE");
|
||||
|
||||
Reference in New Issue
Block a user