Skip to content

Dividends show N/A for "Investment amount" #1596

@nyomanjyotisa

Description

@nyomanjyotisa

ref: https://chat.google.com/room/AAQAWojMDVI/N3ohaxAUcoM/N3ohaxAUcoM?cls=10

Problem

Dividend records show "N/A" for "Investment amount" columns on /equity/dividends page. Historical dividends are missing investment_amount_cents data.

Solution

Create a one time script to backfill investment_amount_cents fields on dividends table. And update the field to not nullable after backfilled

Related PR #796

Comment from the PR author #796 (comment)

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions