Files
bun-sqlite/dist/lib/schema/record-schema-change.d.ts

8 lines
393 B
TypeScript

import type { CreateDBSchemaParams, SchemaChange } from "../../types";
/**
* # Record a schema change before it runs
* @description Logs the change (unless this is a dry run) and refuses
* destructive changes that were not approved.
*/
export default function recordSchemaChange(params: Pick<CreateDBSchemaParams, "dry_run" | "changes" | "allow_destructive">, change: SchemaChange): void;