DELETE FROM qipai_schema_migrations WHERE version = '2026061807';
DROP TABLE IF EXISTS qipai_room_disabled_periods;
ALTER TABLE qipai_rooms
  DROP FOREIGN KEY fk_qipai_rooms_category,
  DROP COLUMN sort_order,
  DROP COLUMN images,
  DROP COLUMN tags,
  DROP COLUMN operational_status,
  DROP COLUMN configuration_status,
  DROP COLUMN max_advance_days,
  DROP COLUMN max_advance_start_minutes,
  DROP COLUMN minimum_minutes,
  DROP COLUMN deposit_cents,
  DROP COLUMN overnight_price_cents,
  DROP COLUMN holiday_price_cents,
  DROP COLUMN weekday_price_cents,
  DROP COLUMN category_id;
DROP TABLE IF EXISTS qipai_room_categories;
DROP TABLE IF EXISTS qipai_store_business_hours;
ALTER TABLE qipai_stores
  DROP COLUMN sort_order,
  DROP COLUMN notification_url,
  DROP COLUMN wifi_password,
  DROP COLUMN wifi_ssid,
  DROP COLUMN latitude,
  DROP COLUMN longitude;
