CREATE TABLE IF NOT EXISTS static_string
(
    id            UUID PRIMARY KEY,
    analysis_id   UUID        NOT NULL REFERENCES static_analysis (id) ON DELETE CASCADE,
    address       VARCHAR(20) NOT NULL,
    value         TEXT        NOT NULL,
    encoding      VARCHAR(20) NOT NULL,
    referenced_by TEXT        NOT NULL DEFAULT ''
);

CREATE INDEX IF NOT EXISTS idx_static_string_analysis_id ON static_string (analysis_id);

