Deal with DB tables that don't have any attributes

@seancarr