From 51c81692320746d1b5a13ca1734cdd7ddd06f922 Mon Sep 17 00:00:00 2001 From: Jan Prochazka Date: Thu, 12 Sep 2024 08:14:46 +0200 Subject: [PATCH] Revert "try to fix build" This reverts commit 8ab814cb8b78cdeff58bf3a08c4c62dcd814107e. --- .../src/frontend/drivers.js | 34 +++++++++---------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/plugins/dbgate-plugin-mysql/src/frontend/drivers.js b/plugins/dbgate-plugin-mysql/src/frontend/drivers.js index a595e89d3..7be9aaf52 100644 --- a/plugins/dbgate-plugin-mysql/src/frontend/drivers.js +++ b/plugins/dbgate-plugin-mysql/src/frontend/drivers.js @@ -104,23 +104,23 @@ const dialect = { return []; }, - // getTableFormOptions(intent) { - // return [ - // { - // type: 'dropdowntext', - // options: this.getSupportedEngines(), - // label: 'Engine', - // name: 'tableEngine', - // sqlFormatString: '^engine = %s', - // }, - // { - // type: 'text', - // label: 'Comment', - // name: 'objectComment', - // sqlFormatString: '^comment = %v', - // }, - // ]; - // }, + getTableFormOptions(intent) { + return [ + { + type: 'dropdowntext', + options: this.getSupportedEngines(), + label: 'Engine', + name: 'tableEngine', + sqlFormatString: '^engine = %s', + }, + { + type: 'text', + label: 'Comment', + name: 'objectComment', + sqlFormatString: '^comment = %v', + }, + ]; + }, }; const mysqlDialect = {