Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • kresus kresus
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 147
    • Issues 147
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 2
    • Merge requests 2
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • kresusapp
  • kresuskresus
  • Merge requests
  • !1473

[migrations] Initialize real balance to initial balance + sum of transactions...

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Nicolas Frandeboeuf requested to merge nicofrand/kresus:setDefaultBalance into main Mar 29, 2022
  • Overview 5
  • Commits 3
  • Pipelines 5
  • Changes 5

Worked fine on imports for me but I can't seem to test in on by switching from a previous commit (4888bf6a) to this last commit, it hangs right after logging the SQL: https://framagit.org/nicofrand/kresus/-/blob/master/server/models/entities/accounts.ts#L204.

I don't know if this comes from this branch or my env.

@bnjbvr Could you test it please? With postgresql (since sqlite will delete transactions when altering the account table).

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: setDefaultBalance