2019-06-04 00:37:17 +02:00
|
|
|
const ColumnBuilder = require('../../../schema/columnbuilder');
|
2020-04-18 20:41:23 +03:00
|
|
|
const toArray = require('lodash/toArray');
|
2016-03-02 17:07:05 +01:00
|
|
|
|
2021-01-06 20:14:44 +02:00
|
|
|
class ColumnBuilder_Oracle extends ColumnBuilder {
|
|
|
|
constructor() {
|
|
|
|
super(...arguments);
|
|
|
|
}
|
2016-03-02 17:07:05 +01:00
|
|
|
|
2021-01-06 20:14:44 +02:00
|
|
|
// checkIn added to the builder to allow the column compiler to change the
|
|
|
|
// order via the modifiers ("check" must be after "default")
|
|
|
|
checkIn() {
|
|
|
|
this._modifiers.checkIn = toArray(arguments);
|
|
|
|
return this;
|
|
|
|
}
|
|
|
|
}
|
2016-03-02 17:07:05 +01:00
|
|
|
|
2019-06-04 00:37:17 +02:00
|
|
|
module.exports = ColumnBuilder_Oracle;
|