Updates
This commit is contained in:
parent
eb41e95bd3
commit
1a96c95f7c
5
dist/lib/sqlite/db-schema-manager.js
vendored
5
dist/lib/sqlite/db-schema-manager.js
vendored
@ -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,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",
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user