UNPKG

pimatic

Version:

A home automation server and framework for the Raspberry PI running on node.js

27 lines (17 loc) 657 B
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;