Review the logic for the function get_all_tables
- The function get_all_tables is used to get the list of the database tables including alias tables.
- It is called by the controller
plugin_dbui/dbui_confto create the Ext JS configuration files for the client. - The web2py scheduler introduces additional database tables which are never used by the client. However the controller
plugin_dbui/dbui_confcreates the configuration files for these tables! - In order to improve the situation, the list of tables used by the client should be tunable by adding more
plugin_dbuiconfiguration parameter liketables,excluded_tables. In addition the relation with thetablesvariable defined in the model common_setting.py has to be reviewed.