mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-18 10:16:00 +00:00
SYNC: charts auto detect
This commit is contained in:
@@ -375,6 +375,11 @@ const mysqlDriverBase = {
|
||||
}
|
||||
return null;
|
||||
},
|
||||
|
||||
adaptDataType(dataType) {
|
||||
if (dataType?.toLowerCase() == 'money') return 'decimal(15,2)';
|
||||
return dataType;
|
||||
},
|
||||
};
|
||||
|
||||
/** @type {import('dbgate-types').EngineDriver} */
|
||||
|
||||
Reference in New Issue
Block a user