Commit Graph

4 Commits

Author SHA1 Message Date
Julien Froidefond
88dc00a44b chore: datas are ok and sync also 2025-08-27 12:18:40 +02:00
Julien Froidefond
9d11a725d7 fix: clean up admin exports and enhance skill category structure
- Removed unused export for management pages in admin index.
- Added id and name properties to skills being synced from JSON, improving data integrity for skill categories.
2025-08-26 13:06:43 +02:00
Julien Froidefond
905e2b2081 refactor: improve logging and streamline skill synchronization process
- Enhanced console logging for better clarity during skill category processing.
- Simplified skill update checks and utilized bulkInsertSkillsFromJSON for efficient skill management.
- Improved code readability by standardizing formatting and reducing unnecessary comments.
2025-08-22 16:41:41 +02:00
Julien Froidefond
a4b680b092 refactor: update database setup and remove skills migration API
- Changed migration commands in DATABASE_SETUP.md to use `pnpm run sync-skills` and `pnpm run sync-teams`.
- Removed the skills migration API endpoint in route.ts, streamlining the migration process.
- Updated MIGRATION_UUID.md to reflect changes in migration steps and removed the old skills migration script.
- Added new sync scripts for skills and teams in package.json.
- Cleaned up init.sql by removing old teams data insertion and adjusted comments for clarity.
2025-08-21 15:21:36 +02:00