12 lines
445 B
TypeScript
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 {};
|