Skip to content

Feat/partner earnings migration #2597

Fausto Arcidiacono requested to merge feat/partner-earnings-migration-e2597 into master

Ticket(s) / Related Merge Requests

#2597 (closed)

Summary of Changes

Moved partner_earnings to vitess

Testing Considerations

After migrating the data to the new table in vitess, check that the details in the wallet are still showing correctly

Deployment Considerations

Create new table in Vitess

CREATE TABLE IF NOT EXISTS minds_partner_earnings (
    user_guid bigint NOT NULL,
    item varchar(256) NOT NULL,
    timestamp timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
    amount_cents int NULL DEFAULT NULL,
    amount_tokens decimal(5,3) NULL DEFAULT NULL,
    PRIMARY KEY (user_guid, item, timestamp)
);

Regression Scope

Platform Affected (web, mobile, etc)

Developer Testing Completed

Screenshots / Screen Recording

Does this impact

  • Localization
  • Dark/light mode
  • Guest mode

Definition of Done Checklist

  • The Acceptance Criteria has been met
  • Code is tested: Testing includes unit/spec, E2E/automated and manual testing
  • Merge requests description has been filled out
Edited by Fausto Arcidiacono

Merge request reports

Loading