Make sure to restore the LAM dashboard if needed
Created by: CristinaBirkel
Closes https://github.com/sourcegraph/sourcegraph/issues/33808
Description
We weren't handling the case where a customer enters Limited Access Mode (LAM), then upgrades, deletes their LAM dashboard, then goes back into trial mode for whatever reason. (Possibly an edge case, but an easy fix!)
So this makes sure that the LAM dashboard gets restored if it had previously been deleted.
Test plan
- Mark the LAM dashboard as deleted and make sure all of the insights are not currently frozen.
- Start sourcegraph without a
code-insights
license. - Verify that the LAM dashboard has been restored.