SELECT table_name FROM information_schema.tables
WHERE table_schema = DATABASE()
  AND table_name IN ('qipai_store_business_hours', 'qipai_room_categories', 'qipai_room_disabled_periods')
ORDER BY table_name;

SELECT column_name FROM information_schema.columns
WHERE table_schema = DATABASE() AND table_name = 'qipai_stores'
  AND column_name IN ('longitude', 'latitude', 'wifi_ssid', 'wifi_password', 'notification_url', 'sort_order')
ORDER BY column_name;

SELECT column_name FROM information_schema.columns
WHERE table_schema = DATABASE() AND table_name = 'qipai_rooms'
  AND column_name IN ('category_id', 'weekday_price_cents', 'holiday_price_cents',
    'overnight_price_cents', 'deposit_cents', 'minimum_minutes', 'max_advance_start_minutes',
    'max_advance_days', 'configuration_status', 'operational_status', 'tags', 'images', 'sort_order')
ORDER BY column_name;

SELECT version, name FROM qipai_schema_migrations WHERE version = '2026061807';
