Skip to content

Fix db structure summary timestamp - #20423

Open
M393 wants to merge 1 commit into
phpmyadmin:QA_5_2from
M393:db-structure-max-timestamps
Open

Fix db structure summary timestamp#20423
M393 wants to merge 1 commit into
phpmyadmin:QA_5_2from
M393:db-structure-max-timestamps

Conversation

@M393

@M393 M393 commented Aug 14, 2026

Copy link
Copy Markdown
Contributor

Description

In Database -> Structure Creation, Last update, and Last check all showed the min timestamp of any table in the Sum row. Last update should display the highest instead.
Not so sure if the other two columns should continue to display the min or max timestamp.

The other two timestamps are calculate just above and below the changed code for the max update timestamp.

Enable in config.inc.php:

$cfg['ShowDbStructureLastUpdate'] = true;
$cfg['ShowDbStructureCreation'] = true;
$cfg['ShowDbStructureLastCheck'] = true;

This should be the max timestamp, instead it was the min.

Signed-off-by: Maximilian Krög <maximilian.kroeg@geocept.com>
@codecov

codecov Bot commented Aug 14, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 0% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 50.54%. Comparing base (527e795) to head (f8bca90).

Files with missing lines Patch % Lines
...asses/Controllers/Database/StructureController.php 0.00% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##             QA_5_2   #20423      +/-   ##
============================================
- Coverage     50.55%   50.54%   -0.01%     
  Complexity    17244    17244              
============================================
  Files           607      607              
  Lines         68783    68783              
============================================
- Hits          34773    34768       -5     
- Misses        34010    34015       +5     
Flag Coverage Δ
dbase-extension 50.12% <0.00%> (-0.06%) ⬇️
guzzlehttp/psr7-psr-7 50.15% <0.00%> (+0.08%) ⬆️
laminas/laminas-diactoros-psr-7 49.44% <0.00%> (-0.77%) ⬇️
nyholm/psr7-psr-7 50.13% <0.00%> (-1.22%) ⬇️
recode-extension 50.15% <0.00%> (+0.04%) ⬆️
slim/psr7-psr-7 50.17% <0.00%> (-0.53%) ⬇️
unit-7.2-ubuntu-latest 50.12% <0.00%> (-1.19%) ⬇️
unit-7.3-ubuntu-latest 49.48% <0.00%> (-0.06%) ⬇️
unit-7.4-ubuntu-latest 50.83% <0.00%> (+1.31%) ⬆️
unit-8.0-ubuntu-latest 49.58% <0.00%> (-0.76%) ⬇️
unit-8.1-ubuntu-latest 49.57% <0.00%> (-1.32%) ⬇️
unit-8.2-ubuntu-latest 49.54% <0.00%> (ø)
unit-8.3-ubuntu-latest 49.53% <0.00%> (-0.77%) ⬇️
unit-8.4-ubuntu-latest 49.53% <0.00%> (-0.01%) ⬇️
unit-8.5-ubuntu-latest 49.50% <0.00%> (-0.04%) ⬇️
unit-8.6-ubuntu-latest 49.16% <0.00%> (-0.01%) ⬇️

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

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant