columncompiler.js 845 B

1234567891011121314151617181920212223242526272829303132
  1. 'use strict';
  2. var _assign2 = require('lodash/assign');
  3. var _assign3 = _interopRequireDefault(_assign2);
  4. function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
  5. var inherits = require('inherits');
  6. var ColumnCompiler_Oracle = require('../../oracle/schema/columncompiler');
  7. function ColumnCompiler_Oracledb() {
  8. ColumnCompiler_Oracle.apply(this, arguments);
  9. }
  10. inherits(ColumnCompiler_Oracledb, ColumnCompiler_Oracle);
  11. (0, _assign3.default)(ColumnCompiler_Oracledb.prototype, {
  12. time: 'timestamp with local time zone',
  13. datetime: function datetime(without) {
  14. return without ? 'timestamp' : 'timestamp with local time zone';
  15. },
  16. timestamp: function timestamp(without) {
  17. return without ? 'timestamp' : 'timestamp with local time zone';
  18. }
  19. });
  20. module.exports = ColumnCompiler_Oracledb;