16 lines
498 B
TypeScript
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 {};
|