mirror of
https://github.com/knex/knex.git
synced 2025-07-13 20:10:53 +00:00
18 lines
474 B
JavaScript
18 lines
474 B
JavaScript
const ColumnBuilder = require('../../../schema/columnbuilder');
|
|
const toArray = require('lodash/toArray');
|
|
|
|
class ColumnBuilder_Oracle extends ColumnBuilder {
|
|
constructor() {
|
|
super(...arguments);
|
|
}
|
|
|
|
// 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;
|
|
}
|
|
}
|
|
|
|
module.exports = ColumnBuilder_Oracle;
|