it looks like a likely typo in your code. double check that the name of your table matches in the code and database.
Capitisation must be the same, and so must any special characters (like _)
looking at the error message, you’ve told the code to look for a table named _user_groups, but you’ve said the table is called user-groups.