Closed Kinukeo closed 3 years ago
Can this not just be inferred by counting a users collections?
It will indeed be based on counting their collections. The next PR will be a scheduled task, like Silvia's, to update this field every 24 hours. We need the data to be in the BI replicant of the DB for the dashboard?
Why not just use SQL to select that value rather than store it ourselves?
Why not just use SQL to select that value rather than store it ourselves?
So just count the rows in Django Etebase Collection
for each Owner ID? I presume Etebase's Owner ID matches our Team Owner ID?
Closed as discussed at #techteam
Description
Added a new projects field to the database in order to use this for the business insights dashboard.
Migrations (if applicable)
Have any database migrations been committed as part of this pull request? Yes
Checklist: