knex/src/dialects/oracle/schema/columnbuilder.js

19 lines
546 B
JavaScript
Raw Normal View History

import inherits from 'inherits';
import ColumnBuilder from '../../../schema/columnbuilder';
2016-03-02 17:07:05 +01: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")
ColumnBuilder_Oracle.prototype.checkIn = function() {
2016-03-02 17:07:05 +01:00
this._modifiers.checkIn = toArray(arguments);
return this;
};
export default ColumnBuilder_Oracle;