AOSSIE-Org / AOSSIE-Org/PictoPy
BUG: The Case of the Missing Pointer
Ouverte
- Langage dominant
- Python
- Étoiles
- 283
- Forks
- 679
- Merge moyen
- 7 j 2 h
- PR mergées (30 j)
- 3
Description
### Is there an existing issue for this?
- [x] I have searched the existing issues
### What happened?
**Where** : `main/backend/app/database/images.py`
**What happened ?** : `db_get_images_by`_folder_ids queries by `folder_id.`
**What should be** : CREATE INDEX `idx_images_folder_id` ON images(`folder_id`);
**Why?**: Without an index, viewing a specific folder requires scanning the entire images table.
### Record
- [x] I agree to follow this project's Code of Conduct
Guide de contribution
Ouvrir le guide de contribution
Évaluation
Cette issue n'a pas encore été évaluée.