Add table teams and FK in table users#2459
Conversation
|
What does it mean to "to record meetings with team members"? r? Kobzol (as you probably know more than me about your DB) |
right, sorry that was really not enough context: the final goal is keeping a register of when 1:1 meetings with team members happened for bookkeeping purposes and build a querying tool to find out f.e. who are the team members with whom team leads had a 1:1 meeting long ago, therefore reschedule another one. Since team members wear many shoes, it could be useful to split them by team. (That opens the question about how to keep this table updated: I thought about a cronjob with the info the triagebot already has from Hope this helps! cc @davidtwco (if you want to add anything) |
|
Hi, I'd like to learn more about this. I'm planning to upstream my student's CI dashboard work to triagebot eventually, which also models team relationships and users. So we have some experience what does and doesn't work 😁 Some notes:
In the dashboard, we chose to put the So I would first start with examining the whole design first, rather than landing a separate table before the actual use-case, so that we won't have to rework it later (DB migrations are always a bit annoying to deal with). |
This is in preparation of more upcoming work discussed with compiler leads (David and Boxy). They would like a triagebot command to record meetings with team members, so there will be the need to filter users based on team membership.
We don't yet a
teamstable, I thought to create one as a first step instead of hard-coding this information in other tables. I am not sure how far that would take us.The SQL statements should be completely idempotent.
Let me know if more context is needed, I've kept the description short here :)
r? @Urgau (but anyone else is ok)
thanks!