[mr3234] Cleanup in SQL and remove tables included on custom_mangos_tables