Skip to content

Update database naming convention with snake case to columns too#2147

Open
jf-viguier wants to merge 1 commit into
PrestaShop:9.xfrom
jf-viguier:snake-case-columns
Open

Update database naming convention with snake case to columns too#2147
jf-viguier wants to merge 1 commit into
PrestaShop:9.xfrom
jf-viguier:snake-case-columns

Conversation

@jf-viguier
Copy link
Copy Markdown
Contributor

  • Add snake case convention
  • Extend convention to columns
Questions Answers
Branch? 9.x
Description? Extend snake case to columns
Fixed ticket? no
Sponsor company Creabilis.com

- Add snake case convention
- Extend convention to columns
@github-actions github-actions Bot added the 9.x label May 29, 2026
Codencode

This comment was marked as duplicate.

All table and column names use snake case: lowercase letters only, with words separated by underscores (“_”). For example:

* ps_employee
* ps_manufacturer
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jf-viguier
We could also add two examples for the fields:

E.g.:
id_employee
imanufacturer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants