Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/friends-of-presta/sql-request

usefull Sql queries for Prestashop maintenance.
https://github.com/friends-of-presta/sql-request

database prestashop queries

Last synced: about 20 hours ago
JSON representation

usefull Sql queries for Prestashop maintenance.

Awesome Lists containing this project

README

        

# SQL-request

Common sql queries for [Prestashop](https://www.prestashop.com/).

## Disclaimer

These queries are intended for developers who knows that interacting with a database can cause non reversible troubles.

Be sure to have a backup of the database you interact with and to know what the queries do.

_Friends of Presta_ cannot be held responsible for any damage caused by running this queries.

We decided to use the default database prefix (`ps_`) for the SQL requests, but for security reasons we strongly recommend to customize your database prefix instead of using the default one especially in production.
Changing it will help protect your shop against any attacks (some SQL injection for example) targeting the default table names.
You can change the default database prefix with this SQL request https://github.com/friends-of-presta/SQL-request/blob/main/1.7/maintenance/rename_table_prefix.sql use this request at your own risk. If you customize the default database prefix you need to change it in `/app/config/parameters.php`