mirror of https://github.com/Fabio286/antares.git
fix(mysql): error getting foreign key list
This commit is contained in:
parent
cef6f681c8
commit
ee183886f6
|
@ -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 {
|
||||
const query = connections[uid]
|
||||
.select(`${column} AS foreignColumn`)
|
||||
|
|
Loading…
Reference in New Issue