Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 4 months ago
JSON representation
usefull Sql queries for Prestashop maintenance.
- Host: GitHub
- URL: https://github.com/friends-of-presta/sql-request
- Owner: friends-of-presta
- Created: 2020-10-08T13:11:02.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2023-05-16T10:58:10.000Z (over 1 year ago)
- Last Synced: 2024-10-10T00:41:30.829Z (4 months ago)
- Topics: database, prestashop, queries
- Homepage:
- Size: 60.5 KB
- Stars: 30
- Watchers: 11
- Forks: 20
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
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`