# MIGRATION GUIDES **Purpose**: Step-by-step migration guides for refactoring. --- ## Migration Guides ### Phase 0: Credit System Migration - [ ] Remove plan limit fields - [ ] Update Plan model - [ ] Update CreditService - [ ] Update AI Engine - [ ] Update frontend ### Phase 1: Service Layer Migration - [ ] Create domain folders - [ ] Move models - [ ] Create services - [ ] Update ViewSets - [ ] Update imports ### Phase 2: Content Model Extensions - [ ] Add source field - [ ] Add sync_status field - [ ] Add external_id fields - [ ] Create migrations - [ ] Update serializers ### Phase 3: New Module Integration - [ ] Automation module - [ ] Linker module - [ ] Optimizer module - [ ] Site Builder module - [ ] Integration module --- ## Migration Checklist For each migration: - [ ] Create migration files - [ ] Test migrations - [ ] Update code references - [ ] Update tests - [ ] Update documentation - [ ] Deploy incrementally --- **Last Updated**: 2025-01-XX