CREATE TABLE asn_prefix_cache_row (
    asn     INTEGER NOT NULL REFERENCES asn_prefix_cache (asn) ON DELETE CASCADE,
    prefix  TEXT NOT NULL,
    PRIMARY KEY (asn, prefix)
);

ALTER TABLE asn_prefix_cache DROP COLUMN prefixes_json;
