2018-07-09 08:10:34 -04:00
|
|
|
const inherits = require('inherits');
|
2016-06-20 17:03:52 +02:00
|
|
|
const ColumnCompiler_Oracle = require('../../oracle/schema/columncompiler');
|
|
|
|
|
2018-07-09 08:10:34 -04:00
|
|
|
import { assign } from 'lodash';
|
2016-06-20 17:03:52 +02:00
|
|
|
|
|
|
|
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';
|
2018-07-09 08:10:34 -04:00
|
|
|
},
|
2016-06-20 17:03:52 +02:00
|
|
|
});
|
|
|
|
|
|
|
|
module.exports = ColumnCompiler_Oracledb;
|