CREATE TABLE billing_accounts_parents(
    account_id bigint NOT NULL,
    parent_id bigint NOT NULL,
    meta text NOT NULL,

    UNIQUE(account_id),
    FOREIGN KEY(account_id) REFERENCES "billing_account"(account_id),
    FOREIGN KEY(parent_id) REFERENCES "billing_account"(account_id)
);
