add config -> multitenant:true/false
blew options(row 25)
> this.multitenant = true;
if (Object.getPrototypeOf(this).multitenant == false) {
this.multitenant = false;
}
blew this._callbacks = schemaUtils.normalizeCallbacks(this);; add
// if multitenant==true add tenantId
if(this.multitenant){
this._attributes.tenantId = {type: 'text'};
}
others look at commit