Table 'dbname.categories' doesn't exist with query: "SELECT `t0`.`id` AS `t0_c0`, `t0`.`name` AS `t0_c1`, `t0`.`sort_order` AS `t0_c2`, `t0`.`delete_flag` AS `t0_c3`, `t0`.`updated_at` AS `t0_c4` FROM `categories` AS `t0` ORDER BY `t0`.`name` ASC LIMIT 10 OFFSET 0"
my datables in a table name is category not categories
If you don't specify the models table name, it will be determined from the model name. And the Fuel rule is that models are singular, table names are plural. Hence "categories" from "Model_Category".
If you want to override this mechanism, define the tablename: