alex
d84ca39e61
refactor: Migrate database from SQLite to MariaDB
Database Migration:
- Add MariaDB connection configuration and initialization (mariadb.js)
- Create MariaDB schema update script (mariadb-schema-update.sql)
- Add migration scripts for SQLite to MariaDB transition:
* migrate-sqlite-to-mariadb.js: Main migration script
* migrate-inventory-to-gear.js: Inventory schema migration
- Remove SQLite-specific implementation files and databases
Route Updates:
- Update all route handlers to use MariaDB instead of SQLite
- Migrate routes: playerRoutes, sessionRoutes, shopRoutes, bestiaryRoutes, rulesRoutes, rulesStagingRoutes, weaponsRoutes
- Remove SQLite-specific route files (playerRoutes-sqlite.js, sessionRoutes-sqlite.js)
- Update server.js to initialize MariaDB and register new weapon routes
Backend Scripts:
- Remove old SQLite migration scripts (migrate-to-sqlite.js, server-sqlite.js)
- Delete obsolete database utility scripts from backup-scripts/
Frontend Updates:
- Update logger utility for improved error handling and debugging
- Enhance PlayerManagement component with better state management
- Improve RequisitionShop component for MariaDB integration
- Update DeathwatchRoller with performance improvements
- Add login test suite (login.test.js)
- Add XP progression utility (xpProgression.js)
- Update dependencies in package.json and package-lock.json
This migration improves:
- Database scalability and performance
- Transaction support for complex operations
- Better data integrity and ACID compliance
- Simplified deployment and backup procedures
2025-12-11 19:20:44 +01:00
..
2025-08-17 18:15:39 +02:00
2025-08-17 19:14:29 +02:00
2025-08-17 19:14:29 +02:00
2025-08-17 16:21:00 +02:00
2025-08-15 16:23:34 +02:00
2025-08-17 18:15:39 +02:00
2025-08-17 18:15:39 +02:00
2025-08-17 16:21:00 +02:00
2025-08-15 23:36:06 +02:00
2025-08-15 23:36:06 +02:00
2025-08-17 16:21:00 +02:00
2025-08-17 16:21:00 +02:00
2025-08-17 18:15:39 +02:00
2025-08-17 16:21:00 +02:00
2025-08-17 16:21:00 +02:00
2025-08-15 10:35:27 +02:00
2025-08-17 16:21:00 +02:00
2025-08-17 16:21:00 +02:00
2025-08-17 16:21:00 +02:00
2025-08-16 12:15:32 +02:00
2025-08-17 18:15:39 +02:00
2025-08-15 16:23:34 +02:00
2025-08-17 16:21:00 +02:00
2025-08-17 16:21:00 +02:00
2025-08-17 16:21:00 +02:00
2025-08-17 16:21:00 +02:00
2025-08-17 16:21:00 +02:00
2025-08-20 15:29:22 +02:00
2025-08-17 16:21:00 +02:00
2025-08-20 15:29:22 +02:00
2025-08-20 15:29:22 +02:00
2025-08-20 15:29:22 +02:00
2025-08-20 15:29:22 +02:00
2025-08-20 15:29:22 +02:00
2025-08-16 15:14:28 +02:00
2025-08-17 16:21:00 +02:00
2025-08-17 16:21:00 +02:00
2025-08-17 16:21:00 +02:00
2025-08-20 15:29:22 +02:00
2025-08-17 16:21:00 +02:00
2025-08-17 16:21:00 +02:00
2025-08-20 15:29:22 +02:00
2025-08-20 15:29:22 +02:00
2025-08-20 15:29:22 +02:00
2025-08-17 16:21:00 +02:00
2025-08-17 16:21:00 +02:00
2025-08-15 16:23:34 +02:00
2025-08-15 16:23:34 +02:00
2025-08-17 16:21:00 +02:00
2025-08-20 15:29:22 +02:00
2025-08-20 15:29:22 +02:00
2025-08-17 16:21:00 +02:00
2025-08-20 15:29:22 +02:00
2025-08-20 15:29:22 +02:00
2025-08-15 23:36:06 +02:00
2025-08-17 16:21:00 +02:00
2025-08-17 16:21:00 +02:00
2025-08-17 16:21:00 +02:00
2025-08-20 15:29:22 +02:00
2025-08-17 16:21:00 +02:00
2025-08-17 16:21:00 +02:00
2025-08-17 16:21:00 +02:00
2025-08-17 16:21:00 +02:00
2025-08-17 16:21:00 +02:00
2025-08-17 16:21:00 +02:00
2025-08-17 16:21:00 +02:00
2025-08-17 16:21:00 +02:00
2025-08-17 16:21:00 +02:00