fix(mysql): error getting foreign key list

This commit is contained in:
Fabio 2020-10-23 16:21:36 +02:00
parent cef6f681c8
commit ee183886f6
1 changed files with 1 additions and 1 deletions

View File

@ -134,7 +134,7 @@ export default (connections) => {
} }
}); });
ipcMain.handle('get-foreign-list', async (event, { uid, schema, table, description }) => { ipcMain.handle('get-foreign-list', async (event, { uid, schema, table, column, description }) => {
try { try {
const query = connections[uid] const query = connections[uid]
.select(`${column} AS foreignColumn`) .select(`${column} AS foreignColumn`)