Does this still work on the current XF version? I'm doing something similar.
Which of these two queries would need to happen first, deleting the options cache or setting the board Active value?
Does the options cache need to be deleted again when turning the board back on via sql query?
Separately, what's the query needed to turn a board notice on?