mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-16 21:00:31 +00:00
fix: remove relation bind knex.
This commit is contained in:
@@ -35,7 +35,7 @@ export default class ViewRole extends TenantModel {
|
||||
*/
|
||||
view: {
|
||||
relation: Model.BelongsToOneRelation,
|
||||
modelClass: this.relationBindKnex(View.default),
|
||||
modelClass: View.default,
|
||||
join: {
|
||||
from: 'view_roles.viewId',
|
||||
to: 'views.id',
|
||||
|
||||
Reference in New Issue
Block a user