columncompiler.js
845 Bytes
'use strict';
var _assign2 = require('lodash/assign');
var _assign3 = _interopRequireDefault(_assign2);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
var inherits = require('inherits');
var ColumnCompiler_Oracle = require('../../oracle/schema/columncompiler');
function ColumnCompiler_Oracledb() {
ColumnCompiler_Oracle.apply(this, arguments);
}
inherits(ColumnCompiler_Oracledb, ColumnCompiler_Oracle);
(0, _assign3.default)(ColumnCompiler_Oracledb.prototype, {
time: 'timestamp with local time zone',
datetime: function datetime(without) {
return without ? 'timestamp' : 'timestamp with local time zone';
},
timestamp: function timestamp(without) {
return without ? 'timestamp' : 'timestamp with local time zone';
}
});
module.exports = ColumnCompiler_Oracledb;