# Old Seed Scripts (Archived) These are the original individual seed scripts that have been consolidated into the new unified database setup system. ## Consolidated Into: - **setup-database.ts** - Unified setup script with all functionality - **reset-db.ts** - Improved reset script with safety features ## Original Scripts: - `seed-data.ts` - Sample bookings and activity logs - `seed-announcements.ts` - Test announcements - `seed-time-slots.ts` - Time slot configuration - `init-admin-data.ts` - Admin dashboard initialization - `reset-database.ts` - Original reset script ## Migration Notes: All functionality from these scripts has been intelligently integrated into the new system: ### New Command Equivalents: | Old Script | New Command | |------------|-------------| | `tsx scripts/seed-data.ts` | `npm run db:setup` | | `tsx scripts/seed-announcements.ts` | Integrated into setup | | `tsx scripts/seed-time-slots.ts` | Integrated into setup | | `tsx scripts/init-admin-data.ts` | Integrated into setup | | `tsx scripts/reset-database.ts` | `npm run db:reset-confirm` | ### Advantages of New System: 1. **Intelligent Setup** - Automatically handles dependencies and order 2. **Flexible Options** - Essential-only or full sample data modes 3. **Safety Features** - Reset confirmation and detailed logging 4. **Better Documentation** - Comprehensive help and summaries 5. **Single Source** - All database setup in one place These old scripts are kept for reference but should not be used in new development.