2020-10-05 23:59:12 +03:00
|
|
|
const { inherits } = require('util');
|
2019-06-04 00:37:17 +02:00
|
|
|
const ColumnBuilder = require('../../../schema/columnbuilder');
|
2016-03-02 17:07:05 +01:00
|
|
|
|
2020-04-18 20:41:23 +03:00
|
|
|
const toArray = require('lodash/toArray');
|
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")
|
2020-04-19 00:40:23 +02: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;
|