WebSQL is on by default as of Microsoft Edge version 101 but can be disabled via a Microsoft Edge flag. If you enable this policy WebSQL cannot be disabled. If you disable or don't configure this policy WebSQL can be disabled.
Solution
Policy Path: Microsoft Edge Policy Setting Name: Force WebSQL to be enabled