Change call_sites table
@@ -120,18 +120,13 @@ CREATE TABLE callables
CREATE TYPE CALL_TYPE AS ENUM ('static', 'dynamic', 'virtual', 'interface', 'special');
-CREATE TYPE CALL_SITE AS
-(
- line INTEGER,
- call_type CALL_TYPE,
- type_id BIGINT
-);
-
CREATE TABLE call_sites
(
source_id BIGINT NOT NULL REFERENCES callables (id),
target_id BIGINT NOT NULL REFERENCES callables (id),
- call_sites CALL_SITE[],
+ line INTEGER,
+ call_type CALL_TYPE,
+ receiver_type_ids BIGINT[],
metadata JSONB
);
