Commit Graph

1 Commits

Author SHA1 Message Date
dfe2dfa7ed feat: add automatic database initialization on startup
- 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>
2025-12-03 23:47:42 +01:00