F-003 fix: Sanitize SQL dump for safe dev use
This commit is contained in:
25
project/sql/README.md
Normal file
25
project/sql/README.md
Normal file
@@ -0,0 +1,25 @@
|
||||
# SQL baselines for local development
|
||||
|
||||
## Tracked baseline
|
||||
- `db-25052026.sql`
|
||||
- Purpose: safe local baseline for the legacy PHP module
|
||||
- Content: schema and synthetic seed data only
|
||||
- Safe for commit and push
|
||||
|
||||
## Private local data
|
||||
- If you need a private raw snapshot, keep it outside git.
|
||||
- Recommended local ignored path: `project/sql/private/`
|
||||
- Do not commit raw customer, order, or production-like data back to this repo.
|
||||
|
||||
## Local import
|
||||
Example:
|
||||
|
||||
```bash
|
||||
mysql -u root -p < project/sql/db-25052026.sql
|
||||
```
|
||||
|
||||
The sanitized baseline includes the tables used by:
|
||||
- `index.php`
|
||||
- `productos_bulk_update.php`
|
||||
- `productos_modificados.php`
|
||||
- `worker_bulk.php`
|
||||
Reference in New Issue
Block a user