Skip to content

Commit

Permalink
Update prefix table information
Browse files Browse the repository at this point in the history
  • Loading branch information
PrestaEdit authored Nov 26, 2024
1 parent 6d0a5b0 commit 5fba591
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions development/database/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,9 @@ showOnHomepage: true

## The database structure

By default, PrestaShop’s database tables start with the `ps_` prefix. This can be customized during installation
Before PrestaShop 9 and by default, PrestaShop’s database tables start with the `ps_` prefix. This can be customized during installation

{{% notice warning %}}
**Important**

For security reasons We strongly recommend to customize your database prefix instead of using the default one.
Changing it will help protect your shop against any attacks (some SQL injection for example) targeting the default table names

{{% /notice %}}
Since PrestaShop 9, prefix is now randomize by default.

All table names are in lowercase, and words are separated with an underscore character (“_”):

Expand Down

0 comments on commit 5fba591

Please sign in to comment.