Tealk
Platinum Coder
I am trying to read out the worst global and worst group status from a table, unfortunately I have no idea how to handle this.
I have a table service_group which has a OneToMany connection to the table service. The service table has a ManyToMany connection to the status table.
The status is given by an ID 0 = good and 3 = the worst.
It is also important that it is only the most recent status of a service, because each service has several entries in the past.
Code: https://codeberg.org/RollenspielMonster/server-status-page
I have a table service_group which has a OneToMany connection to the table service. The service table has a ManyToMany connection to the status table.
The status is given by an ID 0 = good and 3 = the worst.
It is also important that it is only the most recent status of a service, because each service has several entries in the past.
Code: https://codeberg.org/RollenspielMonster/server-status-page
Last edited: