Rack Database Structure: Selection table

This table stores the rack selection status for each rack, for each run. Every row in this table is associated with a rack and with a scenario, so there should be a lot of rows here.

The status of a rack in a given scenario can be one of five things:
number letter meaning
0 R This can be selected randomly, or turned off. This is the most common state.
1 S This is just like R, but when not selected it is in a keepalive state instead of off.
2 A This rack is always selected. Most attached payloads are A.
3 O This rack can be selected only if it is required for another selected rack.
4 K This rack is always in a keepalive state. Racks are almost never K.

Fields
run integer Which run this row is associated with
rack integer Which rack this is a status for.
status integer The status, explained above.