Skip to content

[Extern API] Match Budget enum to google maps price level #257

@eclipse-909

Description

@eclipse-909

Description

Our budget enum needs to correspond to the price level enum we get from google maps. In the events table and Event struct, it's stored as an int. The accounts table and Account struct need to be updated to match that.

Acceptance Criteria

  • accounts table uses INTEGER for budget
  • Account models use i32/number instead of BudgetBucket enum
  • BudgetBucket enum is deleted everywhere in codebase (sql type, rust enum, typescript enum)
  • In frontend, budget dropdown options can be displayed with a switch case over the number or something

Developer Notes

Metadata

Metadata

Assignees

No one assigned

    Labels

    storyThis issue is a story which is part of an epic

    Projects

    Status

    Backlog

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions