Skip to content

[bug] FIx for data migration - #11329

Merged
SchrodingersGat merged 2 commits into
inventree:masterfrom
SchrodingersGat:currency-fix
Feb 15, 2026
Merged

SchrodingersGat merged 2 commits into
inventree:masterfrom
SchrodingersGat:currency-fix

Conversation

@SchrodingersGat

Copy link
Copy Markdown
Member

Prevent writing of default currency to database during migration or backup

Prevent writing of default currency to database during migration or backup
@SchrodingersGat SchrodingersGat added this to the 1.3.0 milestone Feb 14, 2026
@SchrodingersGat SchrodingersGat added bug Identifies a bug which needs to be addressed backport Apply this label to a PR to enable auto-backport action migration Data or schema migrations backport-to-1.2.x labels Feb 14, 2026
@netlify

netlify Bot commented Feb 14, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for inventree-web-pui-preview canceled.

Name Link
🔨 Latest commit d98bb9c
🔍 Latest deploy log https://app.netlify.com/projects/inventree-web-pui-preview/deploys/699107ea2741a60008a03a46

@codecov

codecov Bot commented Feb 15, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 75.00000% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 88.06%. Comparing base (a95ee3c) to head (d98bb9c).
⚠️ Report is 335 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #11329      +/-   ##
==========================================
- Coverage   88.06%   88.06%   -0.01%     
==========================================
  Files        1292     1292              
  Lines       58499    58502       +3     
  Branches     1943     1943              
==========================================
+ Hits        51520    51521       +1     
- Misses       6495     6497       +2     
  Partials      484      484              
Flag Coverage Δ
backend 89.28% <75.00%> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Components Coverage Δ
Backend Apps 91.81% <100.00%> (ø)
Backend General 93.41% <66.66%> (-0.02%) ⬇️
Frontend 70.88% <ø> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@SchrodingersGat
SchrodingersGat merged commit 7a64694 into inventree:master Feb 15, 2026
52 of 58 checks passed
@SchrodingersGat
SchrodingersGat deleted the currency-fix branch February 15, 2026 00:37
github-actions Bot pushed a commit that referenced this pull request Feb 15, 2026
* [bug] FIx for data migration

Prevent writing of default currency to database during migration or backup

* Ignore error

(cherry picked from commit 7a64694)
@github-actions

Copy link
Copy Markdown
Contributor

💚 All backports created successfully

Status Branch Result
✅ 1.2.x

Questions ?

Please refer to the Backport tool documentation and see the Github Action logs for details

SchrodingersGat added a commit that referenced this pull request Feb 15, 2026
* [bug] FIx for data migration

Prevent writing of default currency to database during migration or backup

* Ignore error

(cherry picked from commit 7a64694)

Co-authored-by: Oliver <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport Apply this label to a PR to enable auto-backport action bug Identifies a bug which needs to be addressed migration Data or schema migrations

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants