remove unused table and index

Fixes #852