2019-06-04 00:37:17 +02:00
|
|
|
const inherits = require('inherits');
|
|
|
|
const ColumnBuilder = require('../../../schema/columnbuilder');
|
2016-03-02 17:07:05 +01:00
|
|
|
|
2019-06-04 00:37:17 +02:00
|
|
|
const { toArray } = require('lodash');
|
2016-03-02 17:07:05 +01:00
|
|
|
|
|
|
|
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")
|
2018-07-09 08:10:34 -04:00
|
|
|
ColumnBuilder_Oracle.prototype.checkIn = function() {
|
2016-03-02 17:07:05 +01:00
|
|
|
this._modifiers.checkIn = toArray(arguments);
|
|
|
|
return this;
|
|
|
|
};
|
|
|
|
|
2019-06-04 00:37:17 +02:00
|
|
|
module.exports = ColumnBuilder_Oracle;
|