Skip to content

BUG: The Case of the Missing Pointer #1106

@aniket866

Description

@aniket866

Is there an existing issue for this?

  • 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

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions