不要怂,就是干,撸起袖子干!

Commit 258776a0 by Julian Hundeloh Committed by Sushant

fix(data-types): keep options for array type (#10645)

1 parent 9757d245
Showing with 1 additions and 0 deletions
......@@ -761,6 +761,7 @@ class ARRAY extends ABSTRACT {
constructor(type) {
super();
const options = _.isPlainObject(type) ? type : { type };
this.options = options;
this.type = typeof options.type === 'function' ? new options.type() : options.type;
}
toSql() {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!