knex/src/dialects/oracle/schema/columnbuilder.js

19 lines
574 B
JavaScript
Raw Normal View History

2016-03-02 16:52:32 +01:00
var inherits = require('inherits');
var ColumnBuilder = require('../../../schema/columnbuilder');
import {toArray} from 'lodash'
function ColumnBuilder_Oracle() {
ColumnBuilder.apply(this, arguments);
}
inherits(ColumnBuilder_Oracle, ColumnBuilder);
// checkIn added to the builder to allow the column compiler to change the
// order via the modifiers ("check" must be after "default")
ColumnBuilder_Oracle.prototype.checkIn = function () {
this._modifiers.checkIn = toArray(arguments);
return this;
};
2015-05-09 13:58:18 -04:00
module.exports = ColumnBuilder_Oracle