10 lines
401 B
TypeScript
10 lines
401 B
TypeScript
import type { BUN_MARIADB_TableSchemaType, BunMariaDBConfig } from "../../types";
|
|
/**
|
|
* Full table rebuild. For `isVector` tables this drops and recreates in place
|
|
* (preserving rows when possible). For regular tables it uses a temp-table swap.
|
|
*/
|
|
export default function recreateTable({ table, config, }: {
|
|
table: BUN_MARIADB_TableSchemaType;
|
|
config?: BunMariaDBConfig;
|
|
}): Promise<void>;
|