mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-17 23:45:59 +00:00
SYNC: some fixes
This commit is contained in:
committed by
Diflow
parent
afcb226111
commit
963994b1e5
@@ -23,6 +23,7 @@ const dialect = {
|
||||
userDatabaseNamePrefix: 'C##',
|
||||
upperCaseAllDbObjectNames: true,
|
||||
requireStandaloneSelectForScopeIdentity: true,
|
||||
defaultValueBeforeNullability: true,
|
||||
|
||||
createColumn: true,
|
||||
dropColumn: true,
|
||||
@@ -177,6 +178,12 @@ END trigger_name;
|
||||
}
|
||||
return dialect;
|
||||
},
|
||||
|
||||
adaptDataType(dataType) {
|
||||
if (dataType?.toLowerCase() == 'datetime') return 'timestamp';
|
||||
if (dataType?.toLowerCase() == 'text') return 'clob';
|
||||
return dataType;
|
||||
},
|
||||
};
|
||||
|
||||
module.exports = oracleDriver;
|
||||
|
||||
Reference in New Issue
Block a user