User tests: Successful: Unsuccessful:
#Pull Request for Issue # .
Fixed syntax in 3.8.0-2017-07-28.sql update files for mysql and postgresql to be detected by Joomla schema checker on update.
147 database changes were checked.
146 database changes were checked.
N/A
cc @alikon @csthomas @twister65 for postgresql testing
Category | ⇒ | SQL Administration com_admin Postgresql |
Status | New | ⇒ | Pending |
@twister65 For MySQL ADD
and ADD COLUMN
are both valid but only ADD COLUMN
is recognised by Joomla schema manager see
joomla-cms/libraries/src/Schema/ChangeItem/MysqlChangeItem.php
Lines 78 to 87 in 691e472
Status | Pending | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2017-08-20 18:13:06 |
Closed_By | ⇒ | mbabker | |
Labels |
Added:
?
|
ADD COLUMN is only for postgreSQL:
ALTER TABLE "#__fields_groups" ADD COLUMN "params" TEXT NOT NULL;
For mySQL, it's only ADD :
ALTER TABLE '#__fields_groups' ADD 'params' TEXT NOT NULL AFTER 'ordering';