Add an index on the category_id column
Add empty line at EOF
Remove unused class import
Use the class property
Remove unused method
Type hint variable