use Table.from_queryset for MineCmd