Fix feature flag check failing when database is empty
As seen in QA pipelines and discussed in https://gitlab.com/gitlab-org/gitlab/-/merge_requests/42229, the Grape API initialization would fail if the database were empty. We now check the existence of the `features` table to prevent this from happening. This still does not allow us to change the feature flag dynamically, but it unblocks the test failures.
Showing
Please register or sign in to comment