joomla-cms icon indicating copy to clipboard operation
joomla-cms copied to clipboard

[5][cli] maintenance database update db structure

Open alikon opened this issue 1 year ago • 6 comments

Pull Request for Issue #30477

Summary of Changes

added cli command like CMS "Maintenance: Database - Update Structure"

Testing Instructions

from cli run php cli/joomla.php maintenance:database or php cli/joomla.php maintenance:database --fix

Actual result BEFORE applying this Pull Request

N/A

Expected result AFTER applying this Pull Request

same as "Maintenance: Database - Update Structure" from CMS

image

Link to documentations

Please select:

  • [ ] Documentation link for docs.joomla.org:

  • [ ] No documentation changes for docs.joomla.org needed

  • [ ] Pull Request link for manual.joomla.org:

  • [ ] No documentation changes for manual.joomla.org needed

alikon avatar Dec 26 '23 09:12 alikon

I've tested this PR locally with XAMPP (PHP 8.2.12).

On J5.1_Alpha2 the command doesn't exist: Bildschirminhalt erfassen-5


On 5.1.0-alpha2-dev+pr.42568 the command exists.

  • After installation, the database structure was not up-to-date:

Bildschirminhalt erfassen-2

  • I did: Maintenance - Update Database structure:

Bildschirminhalt erfassen-3

  • Before and after the database repair, I issued the CLI command:

Bildschirminhalt erfassen-4

dautrich avatar Dec 30 '23 19:12 dautrich

I have tested this item :white_check_mark: successfully on 163552fcadcb5d5cb9c29fbc431aead16a8b649d


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/42568.

dautrich avatar Dec 30 '23 19:12 dautrich

I have tested this item ✅ successfully

nielsnuebel avatar Feb 24 '24 09:02 nielsnuebel

I have tested this item :white_check_mark: successfully on 02534fa57b76cdf5fa5f5be1a13c644c3da5a0ac


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/42568.

nielsnuebel avatar Feb 24 '24 09:02 nielsnuebel

I have tested this item :white_check_mark: successfully on 02534fa57b76cdf5fa5f5be1a13c644c3da5a0ac


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/42568.

viocassel avatar Feb 24 '24 11:02 viocassel

RTC


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/42568.

richard67 avatar Feb 24 '24 12:02 richard67

Thanks

bembelimen avatar Mar 04 '24 12:03 bembelimen