columncompiler.js
657 Bytes
const inherits = require('inherits');
const ColumnCompiler_Oracle = require('../../oracle/schema/columncompiler');
import {assign} from 'lodash';
function ColumnCompiler_Oracledb() {
ColumnCompiler_Oracle.apply(this, arguments);
}
inherits(ColumnCompiler_Oracledb, ColumnCompiler_Oracle);
assign(ColumnCompiler_Oracledb.prototype, {
time: 'timestamp with local time zone',
datetime: function(without) {
return without ? 'timestamp' : 'timestamp with local time zone';
},
timestamp: function(without) {
return without ? 'timestamp' : 'timestamp with local time zone';
}
});
module.exports = ColumnCompiler_Oracledb;