Files
bun-mariadb/dist/lib/schema/sync-unique-constraints.d.ts
T
2026-07-30 07:19:07 +01:00

12 lines
445 B
TypeScript

import type { BUN_MARIADB_TableSchemaType, BunMariaDBConfig } from "../../types";
type UniqueConstraintDesired = {
name: string;
columns: string[];
};
export declare function grabDesiredUniqueConstraints(table: BUN_MARIADB_TableSchemaType): UniqueConstraintDesired[];
export default function syncUniqueConstraints({ table, config, }: {
table: BUN_MARIADB_TableSchemaType;
config?: BunMariaDBConfig;
}): Promise<void>;
export {};