Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Database] Add deleted_at field to removable schema rows #4

Open
4 of 10 tasks
jblewnormal opened this issue Dec 2, 2024 · 0 comments
Open
4 of 10 tasks

[Database] Add deleted_at field to removable schema rows #4

jblewnormal opened this issue Dec 2, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@jblewnormal
Copy link
Member

jblewnormal commented Dec 2, 2024

Objective

Add a delated_at timestamp field to the end of database schema tables such as exchanges to "delete" them without removing the row.

Origin Document

Old v1 Coinbase exchange connections are connected to Normal index investments, but can sometimes cause issues in the app if not deleted.

Goals

  • Maintain the quality of older investments and exchanges
  • Better enable legacy users to add new exchanges

Deliverables

  • Add deleted_at to exchanges table
  • Add deleted_at to referralCodes table
  • Add deleted_at to schedules table
  • Add deleted_at to indexes table
  • Release new version of @normalfinance/utils
  • Push updated schema to database

Non-goals / Non-deliverables

  • ...

General deliverables

  • Comments: Add/update TODOs and comments alongside the source code so it is easier to follow.
  • Testing: Add new tests (unit and/or E2E) to the test suite.
  • Makefile: Add new targets to the Makefile to make the new functionality easier to use.
  • Documentation: Update architectural or development READMEs; use mermaid diagrams where appropriate.

Creator: [@jblewnormal]

@jblewnormal jblewnormal added the enhancement New feature or request label Dec 2, 2024
@jblewnormal jblewnormal self-assigned this Dec 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

1 participant