Add initial version of dijkstra backend cloudron image
This commit is contained in:
36
node_modules/knex/lib/dialects/oracledb/schema/columncompiler.js
generated
vendored
Normal file
36
node_modules/knex/lib/dialects/oracledb/schema/columncompiler.js
generated
vendored
Normal file
@@ -0,0 +1,36 @@
|
||||
const inherits = require('inherits');
|
||||
const ColumnCompiler_Oracle = require('../../oracle/schema/columncompiler');
|
||||
|
||||
const { isObject } = require('lodash');
|
||||
|
||||
function ColumnCompiler_Oracledb() {
|
||||
ColumnCompiler_Oracle.apply(this, arguments);
|
||||
}
|
||||
|
||||
inherits(ColumnCompiler_Oracledb, ColumnCompiler_Oracle);
|
||||
|
||||
Object.assign(ColumnCompiler_Oracledb.prototype, {
|
||||
time: 'timestamp with local time zone',
|
||||
|
||||
datetime: function(withoutTz) {
|
||||
let useTz;
|
||||
if (isObject(withoutTz)) {
|
||||
({ useTz } = withoutTz);
|
||||
} else {
|
||||
useTz = !withoutTz;
|
||||
}
|
||||
return useTz ? 'timestamp with local time zone' : 'timestamp';
|
||||
},
|
||||
|
||||
timestamp: function(withoutTz) {
|
||||
let useTz;
|
||||
if (isObject(withoutTz)) {
|
||||
({ useTz } = withoutTz);
|
||||
} else {
|
||||
useTz = !withoutTz;
|
||||
}
|
||||
return useTz ? 'timestamp with local time zone' : 'timestamp';
|
||||
},
|
||||
});
|
||||
|
||||
module.exports = ColumnCompiler_Oracledb;
|
||||
Reference in New Issue
Block a user