diff options
author | Simon Rettberg | 2016-12-06 16:21:56 +0100 |
---|---|---|
committer | Simon Rettberg | 2016-12-06 16:21:56 +0100 |
commit | 8fa66377a1c97d42d83d91ef0821f37f1b885617 (patch) | |
tree | 6386a99f2947194b89eac27127fe1805b25423d9 /modules-available/roomplanner/inc/pvsgenerator.inc.php | |
parent | [statistics] Check if module 'syslog' is active before showing client log (diff) | |
download | slx-admin-8fa66377a1c97d42d83d91ef0821f37f1b885617.tar.gz slx-admin-8fa66377a1c97d42d83d91ef0821f37f1b885617.tar.xz slx-admin-8fa66377a1c97d42d83d91ef0821f37f1b885617.zip |
[statistics/locations/..] Cache calculated locationid of machine in machine table
We now have three columns for the locationid:
- subnetlocationid
Updated whenever the clientip of a client changes on bootup, or when
locations/subnets are edited in the locations module.
- fixedlocationid
Takes the role of the old locationid field - set when a machine is
placed in a room via roomplanner, set to NULL otherwise.
- locationid
Set to fixedlocationid if it's not NULL, to subnetlocationid otherwise.
The field is updated by a BEFORE UPDATE trigger.
Diffstat (limited to 'modules-available/roomplanner/inc/pvsgenerator.inc.php')
0 files changed, 0 insertions, 0 deletions