# Archived Migrations

This folder contains completed migration scripts that have been archived for reference purposes.

## Folder Structure

### `2025_08_22/`
- Original migration scripts from August 22, 2025

### `2025_10_24/`
Department field migration scripts (October 24, 2025):
- `migrate_add_department_field.php` - Adds department column to delegates table
- `migrate_email_field.php` - Adds email field migration
- `migrate_make_department_required.php` - Makes department field required
- `verify_department_field.php` - Verification script for department field migration

### `badge_system/`
Badge system migration scripts:
- `migrate_complete_badge_system.php` - Complete badge system setup
- `migrate_badge_print_tracking.php` - Badge print tracking feature migration
- `run_badge_sql.php` - SQL setup script for badge tables
- `verify_badge_tables.php` - Verification script for badge system

### `other/`
Other completed migrations:
- `migrate_complimentary_status.php` - Complimentary status migration
- `verify_delegate_migration.php` - Delegate migration verification

## Notes

- All migrations in this folder have been completed on production
- These scripts are kept for historical reference and rollback purposes
- Do not run these migrations again unless specifically needed for troubleshooting

## Active Migration System

Current active migrations are managed through:
- `admin/migrations/migration_runner.php` - Active migration runner
- `admin/auto_migrate.php` - Auto-migration system for features

Last updated: 2025-10-29

