mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-17 05:10:31 +00:00
fix bugs.
This commit is contained in:
@@ -1,4 +1,10 @@
|
||||
import BaseModel from '@/models/Model';
|
||||
|
||||
export default class TenantModel extends BaseModel{
|
||||
}
|
||||
export default class TenantModel extends BaseModel {
|
||||
static tenant() {
|
||||
if (!this.knexBinded) {
|
||||
throw new Error('Tenant knex is not binded yet.');
|
||||
}
|
||||
return super.bindKnex(this.knexBinded);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user