Skip to content

Reorganize database queries #13

@adamski

Description

@adamski

Database queries have been moved to a separate queries.rs file, even when they are only used in one place. This separation can make the code harder to follow and leads to dead code (e.g., the unused GET_USER_BY_ID constant). Queries should be defined close to where they are used.

To fix:

  • Move single-use queries from queries.rs into the module where they are executed.

Migrated from Linear: REP-12

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions