Import XLSX support: add collection fields and migration script

This commit is contained in:
Ponte
2026-02-11 15:31:14 +01:00
parent e2a7f0fdd9
commit 73c3e30744
6 changed files with 352 additions and 15 deletions

View File

@@ -14,10 +14,14 @@ Centraliser ta collection dans une interface rapide a utiliser, evolutive, et fa
- Compteur visuel du nombre de jeux par console (bulle sur l'onglet)
- Ajout de jeux avec champs:
- titre
- version
- genre
- editeur
- double (oui/non)
- annee
- prix d'achat
- cote estimee
- etat
- prete a
- Edition d'une fiche existante
- Suppression d'un jeu
@@ -146,6 +150,16 @@ git pull
- snapshot auto en base avant restore `replace` (`backup_snapshots`)
- actions accessibles dans le panneau lateral `Outils`
## Import Excel (COLLECTIONS.xlsx)
- Script: `scripts/import_collections_xlsx.py`
- Commande:
- `python3 scripts/import_collections_xlsx.py '/Users/beuz/Downloads/COLLECTIONS.xlsx' --api-base http://127.0.0.1:7001`
- Mapping consoles -> marques:
- `NES/SNES/Wii -> NINTENDO`
- `PS1/PS2/PS3/PS4/PS5 -> SONY`
- `XBOX 360 -> MICROSOFT`
## Licence
Projet prive personnel.