CREATE TABLE signals.nexar_frame_to_feature (
    nexar_frame_id text PRIMARY KEY,
    feature_id bigint NOT NULL REFERENCES signals.feature (feature_id) ON DELETE CASCADE
);

CREATE UNIQUE INDEX nexar_feature_id_to_frame_idx ON signals.nexar_frame_to_feature USING btree(feature_id);
