This commit is contained in:
2026-04-02 20:26:01 +01:00
parent eb41e95bd3
commit 1a96c95f7c
3 changed files with 8 additions and 3 deletions
+4 -1
View File
@@ -88,10 +88,13 @@ class SQLiteSchemaManager {
await this.createTable(table);
this.insertDbManagerTable(table.tableName);
}
else {
else if (!table.isVector) {
// Update existing table
await this.updateTable(table);
}
else {
return;
}
// Sync indexes
await this.syncIndexes(table);
}
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@moduletrace/bun-sqlite",
"version": "1.0.16",
"version": "1.0.17",
"description": "SQLite manager for Bun",
"author": "Benjamin Toby",
"main": "dist/index.js",
+3 -1
View File
@@ -138,9 +138,11 @@ class SQLiteSchemaManager {
// Create new table
await this.createTable(table);
this.insertDbManagerTable(table.tableName);
} else {
} else if (!table.isVector) {
// Update existing table
await this.updateTable(table);
} else {
return;
}
// Sync indexes