datasquirel/dist/package-shared/shell/utils/handle-table-foreign-key.d.ts
2026-01-03 05:34:24 +01:00

16 lines
498 B
TypeScript

import { DSQL_FieldSchemaType } from "../../types";
type Param = {
dbFullName: string;
tableName: string;
fields: DSQL_FieldSchemaType[];
clone?: boolean;
};
/**
* Handle MYSQL Foreign Keys
* ===================================================
* @description Iterate through each datasquirel schema
* table index(if available), and perform operations
*/
export default function handleTableForeignKey({ dbFullName, tableName, fields, clone, }: Param): Promise<void>;
export {};