1
1
mirror of https://github.com/Fabio286/antares.git synced 2025-06-05 21:59:22 +02:00

feat(MySQL): option to disable foreign key checks when empty a table

This commit is contained in:
2022-06-29 10:48:21 +02:00
parent 5f57a9f60d
commit 902c29ffa5
10 changed files with 51 additions and 22 deletions

View File

@@ -98,7 +98,7 @@ export default class {
return ipcRenderer.invoke('duplicate-table', unproxify(params));
}
static truncateTable (params: { uid: string; schema: string; table: string }): Promise<IpcResponse> {
static truncateTable (params: { uid: string; schema: string; table: string; force: boolean }): Promise<IpcResponse> {
return ipcRenderer.invoke('truncate-table', unproxify(params));
}