- Add is_active column to schema.sql for new deployments
- Add migration in auto-init-db.js for existing databases
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Create auto-init-db.js script that checks and initializes database
- Creates tables from schema.sql if not exist
- Creates default admin and employee accounts
- Generates 500,000 tickets with proper distribution
- Applies migrations for newsletter and email campaigns
- Runs automatically when backend starts
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>