joomla-cms
joomla-cms copied to clipboard
[5][cli] maintenance database update db structure
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
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
I've tested this PR locally with XAMPP (PHP 8.2.12).
On J5.1_Alpha2 the command doesn't exist:
On 5.1.0-alpha2-dev+pr.42568 the command exists.
- After installation, the database structure was not up-to-date:
- I did: Maintenance - Update Database structure:
- Before and after the database repair, I issued the CLI command:
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.
I have tested this item ✅ successfully
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.
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.
RTC
This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/42568.
Thanks