? ? Failure

User tests: Successful: Unsuccessful:

avatar calligraphic
calligraphic
21 Aug 2018

Widen default "table" field of "#__content_types" table in install scripts

Pull Request for Issue #21395 .

Summary of Changes

Changed width of "table" field in "#__content_types" table from VARCHAR(255) to VARCHAR(2048) for MySQL, PostgreSQL, and Azure install scripts. Provides room for parameters and longer values.

Testing Instructions

  1. Follow instructions in Joomla! documentation to enable content history for a third-party component. For the "table" JSON key, use a wide vendor-prefixed value for the "dbtable" key of configuration for "special", e.g.:

    "dbtable":"#__mylongvendorprefixname_mylongcustomcomponentname",

  2. Apply this PR.

  3. Install third-party component.

Expected result

No database errors

Actual result

No database errors

Documentation Changes Required

None.

avatar calligraphic calligraphic - open - 21 Aug 2018
avatar calligraphic calligraphic - change - 21 Aug 2018
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 21 Aug 2018
Category SQL Installation Postgresql MS SQL
avatar alikon
alikon - comment - 21 Aug 2018

yuo should add the update sql too

avatar brianteeman
brianteeman - comment - 21 Aug 2018

You will need to create an update script as well.

They are located in the administrator\components\com_admin\sql\updates folder

and they should be new files with todays date

avatar calligraphic calligraphic - change - 21 Aug 2018
The description was changed
avatar calligraphic calligraphic - edited - 21 Aug 2018
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 28 Apr 2019

@calligraphic will you create an update script as @brianteeman comment above?

avatar Quy
Quy - comment - 11 May 2019

Let's make a decision on this and @alikon please submit the update scripts.

avatar ghost
ghost - comment - 20 Jul 2019

Let's make a decision on this and @alikon please submit the update scripts.

avatar alikon
alikon - comment - 20 Jul 2019

no decision no update script ?

avatar SharkyKZ
SharkyKZ - comment - 20 Feb 2020

I'm including this in #27992 for 4.0.

avatar SharkyKZ
SharkyKZ - comment - 20 Feb 2020

@calligraphic If you still need this for staging please add update SQL like suggested in the comments above.

avatar chmst
chmst - comment - 10 May 2021

Clsoing this - no update after more than a year

avatar chmst chmst - change - 10 May 2021
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2021-05-10 17:30:48
Closed_By chmst
Labels Added: ?
avatar chmst chmst - close - 10 May 2021

Add a Comment

Login with GitHub to post a comment