Skip to content

[Feature] Refactor: Replace Dynamic Per-Scan Tables with a Centralized Workload Table #13

@vschwaberow

Description

@vschwaberow

Problem

The current database schema utilizes an anti-pattern. The table name is dynamically generated based on the unique scan_id. This is a problem, because: 1.) Table names are generated dynamically, 2.) Schema changes are a nightmare, 3.) Querying has far more complexity

Solution

Create a table called workload, add a scan_id to this table. Use this foreign key and modify all functions to interact with it. Filter based on the scan_id.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions