knex/src/dialects/oracle/schema/columnbuilder.js
Rhys van der Waerden 3846b7182c Make codebase conform to ESLint rules
Just a couple of changes.
2016-05-17 01:01:34 +10:00

19 lines
543 B
JavaScript

import inherits from 'inherits';
import ColumnBuilder from '../../../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;
};
export default ColumnBuilder_Oracle