Строки asn_prefix_cache_row; периодический prune через evobgp-ingest. Co-authored-by: Cursor <cursoragent@cursor.com>
8 lines
235 B
SQL
8 lines
235 B
SQL
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;
|