Open AvivRubys opened 1 year ago
When running for the first time, we only update the cursor but don't create the initial row, so it doesn't update anything.
Changed the update to an upsert. Ran locally and verified sub_state was empty before, and after the change has a single row.
sub_state
Problem
When running for the first time, we only update the cursor but don't create the initial row, so it doesn't update anything.
Solution
Changed the update to an upsert. Ran locally and verified
sub_state
was empty before, and after the change has a single row.