User tests: Successful: Unsuccessful:
Pull Request for Issue #14331 .
managed DROP DEFAULT
on JSchemaChangeitem
for postgresql
With latest staging on postgresql go to Manage > Database.
no notice
Notice: Undefined offset:
Status | New | ⇒ | Pending |
Category | ⇒ | Postgresql SQL Administration com_admin |
IMO this is the wrong solution. We can not remove DROP DEFAULT
from update files.
We have to fix php code in https://github.com/joomla/joomla-cms/blob/staging/libraries/cms/schema/changeitem/postgresql.php#L132
I suppose that reverse the order of elseif
with
https://github.com/joomla/joomla-cms/blob/staging/libraries/cms/schema/changeitem/postgresql.php#L111
would solve the problem.
could be i've checked rather quickly,
but why
We can not remove DROP DEFAULT from update files.
i've just looked at #__contact_details
and
ALTER TABLE "#__contact_details" ALTER COLUMN "name" DROP DEFAULT;
even if for me is not needed (DROP DEFAULT
) , i agree with you should be correctly managed by changeitem for postgresql
Labels |
Added:
?
|
Category | Postgresql SQL Administration com_admin | ⇒ | Postgresql SQL Administration com_admin Libraries |
Category | Postgresql SQL Administration com_admin Libraries | ⇒ | Libraries |
I have tested this item
Status | Pending | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2017-11-02 19:41:32 |
Closed_By | ⇒ | alikon |
I have tested this item✅ successfully on 2e35e03
Thanks alikon!
This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/14423.