AOSSIE-Org / AOSSIE-Org/PictoPy

BUG: The Case of the Missing Pointer

Open
#1,106 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
283
Forks
679
Avg merge
7d 2h
Merged PRs (30d)
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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.