The error suggests that the MainFranchise class doesn't have a table defined. Not sure ,can you also add the MainFranchise and SubFranchise Model and schema?
↧