8 lines
393 B
TypeScript
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;
|