This commit is contained in:
2026-05-23 16:40:20 +01:00
parent 47f85d8343
commit bcdd1f4b7e
11 changed files with 35 additions and 14 deletions
+3
View File
@@ -308,6 +308,9 @@ class SQLiteSchemaManager {
if (field.unique && !field.primaryKey) {
parts.push("UNIQUE");
}
if (field.vectorDistanceMetric) {
parts.push(`distance_metric=${field.vectorDistanceMetric}`);
}
// Default value
if (field.defaultValue !== undefined) {
if (typeof field.defaultValue === "string") {