home / bankproducts

product_partner_link

Data license: CC-BY-4.0 · Data source: bankproducts.info

0 rows where product_id = "bancastato:credito_privato_cembra"

✎ View and edit SQL

This data as json

0 records

CREATE TABLE product_partner_link (
    product_id    TEXT NOT NULL REFERENCES product(id),
    partner_id    TEXT NOT NULL REFERENCES partner(id),
    role          TEXT NOT NULL,          -- issuer, co_brand, reward_program, white_label_advisor
    note          TEXT,
    valid_from    TEXT,                   -- YYYY-MM-DD when the relationship started; NULL = always
    PRIMARY KEY (product_id, partner_id, role)
);
CREATE INDEX idx_ppl_partner ON product_partner_link(partner_id);
CREATE INDEX idx_ppl_role    ON product_partner_link(role);
Powered by Datasette · Queries took 12.033ms · Data license: CC-BY-4.0 · Data source: bankproducts.info