Skip to main content

startSavingsGoalMigration

Start the migration of Goal V2 models to SavingsGoal models for the current household. This allows users to preview the migration without committing to it.

  • Checks if household has already been migrated (returns error if yes)
  • Always re-migrates all goals to reflect latest state (even if new_goal_id exists)
  • Migrates ASSET goals to savings goals
  • Handles debt goal account flags
  • Does NOT set migrated_to_savings_goals_at (allows backing out)
startSavingsGoalMigration: StartSavingsGoalMigration

Type

StartSavingsGoalMigration object

Start the migration of Goal V2 models to SavingsGoal models for the current household. This allows users to preview the migration without committing to it.

  • Checks if household has already been migrated (returns error if yes)
  • Always re-migrates all goals to reflect latest state (even if new_goal_id exists)
  • Migrates ASSET goals to savings goals
  • Handles debt goal account flags
  • Does NOT set migrated_to_savings_goals_at (allows backing out)