migration for table status