User tests: Successful: Unsuccessful:
Rename table #__history
to #__content_history
.
Table name #__history
is too common, besides this table is closely related to content.
Original Joomla 3 table #__ucm_history
was renamed to #__history
and it's really weird.
Let's add more logic into table names while it's not too late for Joomla 4.
Install Joomla 4 beta (or update core files in existing installation). Ensure that content history works.
Table #__history
exists.
Table #__history
renamed to #__content_history
.
No.
Status | New | ⇒ | Pending |
Category | ⇒ | Administration com_admin SQL Postgresql com_content com_contenthistory Installation Libraries |
Just a thought: Seeing as we call the function "Versions" should this not be called #__versions_history. I'm sure there's a good reason why not, but just a thought.
@HLeithner #__content_types
is also used everywhere but it is.
@1252spike Nope, it's used in com_contenthistory, the model name is ContentHistory, the word version is frustrating.
tbh our complete database structure would need a face lift or more @alikon and @richard67 are pretty much in favor for this but renaming something which is not really wrong and make it wrong isn't a good option ymmv
@HLeithner I'm not in favour of this.
@richard67 thought you would like to restructure the database a bit, sorry if I misunderstood this
Alpha5 is really not the time to even think about changing core table names
Alpha5 is really not the time to even think about changing core table names
If it was Alpha5 and not Beta5 I would maybe be ok with it ;-)
I have tested this item
Applied patch, Result: "#_history" gone, "#__content_history" exists
Point of concern: Database update structure issued with result error: "missing #_history table"
Tested article history was successful. Changed version version info could be seen in table "#_content_history"
Applied patch, Result: "#_history" gone, "#__content_history" exists
Point of concern: Database update structure issued with result error: "missing #_history table"
Tested article history was successful. Changed version version info could be seen in table "#_content_history"
Labels |
Added:
Information Required
?
|
Category | Administration com_admin SQL Postgresql com_content com_contenthistory Installation Libraries | ⇒ | Repository Administration com_admin SQL Postgresql MS SQL com_associations com_categories |
Category | Administration com_admin SQL Postgresql Repository MS SQL com_associations com_categories | ⇒ | Administration com_admin SQL Postgresql com_content com_contenthistory Installation Libraries |
Status | Pending | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2020-10-17 09:36:43 |
Closed_By | ⇒ | Denitz |
These changes would suggest that the table belongs to com_content, but this is not the case as every component can use the versioning feature.