2. Legacy Listings Issue

English

Legacy posts were tied to old category IDs and raw structures from tables like kdf_posts, kdf_post_items, and kdf_post_bundle_items.

The new solution introduces listings, listing_items, and legacy_post_refs so old records can be migrated and still traced back to their origin.


العربي

المشكلة كانت إن البوستات القديمة كانت مربوطة بتصنيفات قديمة وبجداول قديمة، وبالتالي بعد إعادة الهيكلة كان ممكن تضيع أو تظهر في مكان غلط.

الحل الجديد بقى إننا عملنا جداول موحدة للعروض والـitems، وكمان جدول legacy_post_refs لحفظ مرجع السجل القديم بعد النقل.

Example / مثال

Old post category = 10 → mapped into new category = Mobile Phones → Smartphones