Skip to content

[setup] Database config - #11813

Merged
SchrodingersGat merged 6 commits into
inventree:masterfrom
SchrodingersGat:db-config
Apr 27, 2026
Merged

SchrodingersGat merged 6 commits into
inventree:masterfrom
SchrodingersGat:db-config

Conversation

@SchrodingersGat

Copy link
Copy Markdown
Member

The database configuration parameters (in the config file) are now specified using lowercase names (as with all other values in the config file). However old setups may use the UPPERCASE names - so the configuration code checks for UPPERCASE names as a backup

@SchrodingersGat SchrodingersGat added this to the 1.4.0 milestone Apr 26, 2026
@SchrodingersGat SchrodingersGat added bug Identifies a bug which needs to be addressed setup Relates to the InvenTree setup / installation process labels Apr 26, 2026
@netlify

netlify Bot commented Apr 26, 2026 •

Copy link
Copy Markdown

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

Name Link
🔨 Latest commit 43fad91
🔍 Latest deploy log https://app.netlify.com/projects/inventree-web-pui-preview/deploys/69efd9ab73e8ac0008000944

@codecov

codecov Bot commented Apr 26, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 92.85714% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 91.36%. Comparing base (afa3807) to head (43fad91).
⚠️ Report is 389 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #11813      +/-   ##
==========================================
- Coverage   91.36%   91.36%   -0.01%     
==========================================
  Files         970      970              
  Lines       50339    50342       +3     
==========================================
+ Hits        45994    45996       +2     
- Misses       4345     4346       +1     
Flag Coverage Δ
backend 89.19% <92.85%> (-0.01%) ⬇️

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

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

@SchrodingersGat

Copy link
Copy Markdown
Member Author

@matmair any idea why these new typechecking errors have surfaced?

@matmair

matmair commented Apr 27, 2026

Copy link
Copy Markdown
Member

@SchrodingersGat not immediately obvious from this PR; will look into it

@SchrodingersGat
SchrodingersGat merged commit aeeca49 into inventree:master Apr 27, 2026
37 checks passed
@SchrodingersGat

Copy link
Copy Markdown
Member Author

@matmair thanks for the fixes

@SchrodingersGat
SchrodingersGat deleted the db-config branch April 27, 2026 22:20
martonmiklos pushed a commit to martonmiklos/InvenTree that referenced this pull request Jun 30, 2026
* Adjust config template file

* Check UPPERCASE value as backup

* fix typing issue

* ignore ty issues for now

Co-authored-by: Copilot <[email protected]>

---------

Co-authored-by: Matthias Mair <[email protected]>
Co-authored-by: Copilot <[email protected]>
@matmair matmair mentioned this pull request Sep 8, 2026
2 tasks done
@@ -18,15 +18,15 @@
# TO MAINTAINERS: Do not change database strings

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this warning was kind of important

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Identifies a bug which needs to be addressed setup Relates to the InvenTree setup / installation process

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Change database.* capitalisation in the config template

2 participants