SELECT column_name
FROM information_schema.columns
WHERE table_schema = DATABASE()
  AND table_name = 'qipai_cleaning_settlements'
  AND column_name IN ('payout_state', 'payout_package_info');

SELECT index_name
FROM information_schema.statistics
WHERE table_schema = DATABASE()
  AND table_name = 'qipai_cleaning_settlements'
  AND index_name = 'idx_qipai_cleaning_settlement_transfer_state'
GROUP BY index_name;

SELECT version
FROM qipai_schema_migrations
WHERE version = '2026062729';
