add Id column for table cmd and visitor