This commit is contained in:
Benjamin Toby 2026-04-02 20:26:01 +01:00
parent eb41e95bd3
commit 1a96c95f7c
3 changed files with 8 additions and 3 deletions

View File

@ -88,10 +88,13 @@ class SQLiteSchemaManager {
await this.createTable(table); await this.createTable(table);
this.insertDbManagerTable(table.tableName); this.insertDbManagerTable(table.tableName);
} }
else { else if (!table.isVector) {
// Update existing table // Update existing table
await this.updateTable(table); await this.updateTable(table);
} }
else {
return;
}
// Sync indexes // Sync indexes
await this.syncIndexes(table); await this.syncIndexes(table);
} }

View File

@ -1,6 +1,6 @@
{ {
"name": "@moduletrace/bun-sqlite", "name": "@moduletrace/bun-sqlite",
"version": "1.0.16", "version": "1.0.17",
"description": "SQLite manager for Bun", "description": "SQLite manager for Bun",
"author": "Benjamin Toby", "author": "Benjamin Toby",
"main": "dist/index.js", "main": "dist/index.js",

View File

@ -138,9 +138,11 @@ class SQLiteSchemaManager {
// Create new table // Create new table
await this.createTable(table); await this.createTable(table);
this.insertDbManagerTable(table.tableName); this.insertDbManagerTable(table.tableName);
} else { } else if (!table.isVector) {
// Update existing table // Update existing table
await this.updateTable(table); await this.updateTable(table);
} else {
return;
} }
// Sync indexes // Sync indexes