From 423bc7f29976f9fcf12f18f8facaa17ab4d8d2a1 Mon Sep 17 00:00:00 2001 From: Muhammad Aaqil Date: Mon, 14 Oct 2024 19:39:46 +0500 Subject: [PATCH] show index information in openapi specs Signed-off-by: Muhammad Aaqil --- lib/discovery.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/discovery.js b/lib/discovery.js index 159b5f4ff..6b764ef35 100644 --- a/lib/discovery.js +++ b/lib/discovery.js @@ -195,7 +195,7 @@ function mixinDiscovery(MySQL, mysql) { ${table ? ' AND c.table_name = ' + mysql.escape(table) : ''} `, 'c.table_name, c.ordinal_position', - {} + {}, ); } else { sql = paginateSQL( @@ -236,7 +236,7 @@ function mixinDiscovery(MySQL, mysql) { ${table ? ' AND columns.table_name = ' + mysql.escape(table) : ''} `, 'columns.table_name, columns.ordinal_position', - {} + {}, ); } if (options.orderBy) {