Bug #24117
closedRename table be_layouts to backend_layout
0%
Description
Rename table be_layouts to backend_layout.
Also rename the fields be_layout and be_layout_next in table to not use abbreviations.
(issue imported from #M16458)
Files
Updated by Jo Hasenau about 14 years ago
Any reason why?
We've got pages, fe_users, fe_groups, fe_sessions etc.
Or would you want to rename each of these as well?
Updated by Ingo Renner about 14 years ago
Of course we can not rename the old ones for the obvious backwards compatibility reasons. However, along with database lessons and practices tables should be named in singular form.
You may also think in ways of ORMs where the class name matches the table name, then you would have a class called BeLayouts for example, where it should be BeLayout though.
Also I'm not sure whether it might not be just "layout".
It's not a big deal, I'll take care of it later, I just added the issue as a reminder...
Updated by Jo Hasenau about 14 years ago
"be_layout" would be ok, but "layout" wouldn't fit here, since there already is a "layout" field in the pages table and the naming would confuse people.
Updated by Jo Hasenau about 14 years ago
but maybe then we should use "backend_layout" to get rid of acronyms as well
Updated by Jo Hasenau almost 14 years ago
do you have something ready so that I can base upcoming bugfixes on the new naming - or should I just provide a patch with the current names?