Major version update. Major bugfixes. Security vulnerabilites fixed
This commit is contained in:
Vendored
+13
@@ -0,0 +1,13 @@
|
||||
import type { BUN_SQLITE_TableSchemaType, CreateDBSchemaParams } from "../../types";
|
||||
type Params = CreateDBSchemaParams & {
|
||||
table: BUN_SQLITE_TableSchemaType;
|
||||
};
|
||||
/**
|
||||
* # Update an existing table
|
||||
* @description SQLite has limited ALTER TABLE support, so a changed table is
|
||||
* rebuilt: create a temp table with the new schema, copy the data over,
|
||||
* drop the old table and rename the temp table. Unchanged tables are left
|
||||
* alone.
|
||||
*/
|
||||
export default function updateTable(params: Params): void;
|
||||
export {};
|
||||
Reference in New Issue
Block a user