mirror of
https://github.com/knex/knex.git
synced 2025-07-08 09:31:40 +00:00
27 lines
657 B
JavaScript
27 lines
657 B
JavaScript
![]() |
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;
|