2016-05-17 01:01:34 +10:00
|
|
|
import inherits from 'inherits';
|
|
|
|
import ColumnBuilder from '../../../schema/columnbuilder';
|
2016-03-02 17:07:05 +01:00
|
|
|
|
2018-07-09 08:10:34 -04:00
|
|
|
import { toArray } from '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;
|
|
|
|
};
|
|
|
|
|
2018-07-09 08:10:34 -04:00
|
|
|
export default ColumnBuilder_Oracle;
|