Make the database table foreachable.