mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-19 02:36:00 +00:00
driver plugins supports more drivers. Added derived drivers for MariaDB, CockroachDB, Amazon Redshift
This commit is contained in:
@@ -28,7 +28,7 @@
|
||||
function buildDrivers(plugins) {
|
||||
const res = [];
|
||||
for (const { content } of plugins) {
|
||||
if (content.driver) res.push(content.driver);
|
||||
// if (content.driver) res.push(content.driver);
|
||||
if (content.drivers) res.push(...content.drivers);
|
||||
}
|
||||
return res;
|
||||
|
||||
Reference in New Issue
Block a user