Bench Restore Missing Tables

Hello I got a database scheme, unfortunately this scheme has a tables installed on Frappe and ERPNext Modules not on new app
anyway, I tried to use bench-restore on that scheme it works fine
but the new tables created is not reflected
I saw them on the database but the site doesn’t recognize it
how can I solve this issue, I can’t reflect table by table because there are hundred of tables

To make sure you have installed all the apps related to running your application, first check using this command: bench list-apps. It will give you the current list of installed apps.

If any app is missing, install it using this command:
bench --site [sitename] install-app [app_name]

Then run the migration command:
bench --site [sitename] migrate

Next, clear the cache using:
bench --site [sitename] clear-cache

If you have followed the above steps but the problem persists, use:
bench set-requirements

Then, follow the above steps again.

I tried all methods and the problem still persists

Try this: bench set-requirements. If it runs successfully, can you share the error message that appears when you run bench start?

I’m using production Server, bench setup requirements works fine, but the missing tables still not reflecting because as I said the new tables are on ERPnext modules not on an external app

Perhaps if you could detail how the new app was created and how the backup that was restored was made it will help.

Does bench migrate seem to show doctypes for all apps?