fix: use mysqli driver in component manifest for Joomla 4/5/6

The install/uninstall/update SQL sections used driver="mysql" which
doesn't match the active mysqli driver, causing "SQL File not found"
on fresh installs and silently skipping schema updates on upgrades.
This commit is contained in:
Jonathan Miller
2026-06-24 07:31:12 -05:00
committed by Jonathan Miller
parent 5afbc75f23
commit 3fb5a87be9
2 changed files with 4 additions and 3 deletions
+3 -3
View File
@@ -23,17 +23,17 @@
<install>
<sql>
<file driver="mysql" charset="utf8">sql/install.mysql.sql</file>
<file driver="mysqli" charset="utf8">sql/install.mysql.sql</file>
</sql>
</install>
<uninstall>
<sql>
<file driver="mysql" charset="utf8">sql/uninstall.mysql.sql</file>
<file driver="mysqli" charset="utf8">sql/uninstall.mysql.sql</file>
</sql>
</uninstall>
<update>
<schemas>
<schemapath type="mysql">sql/updates/mysql</schemapath>
<schemapath type="mysqli">sql/updates/mysql</schemapath>
</schemas>
</update>