26 lines
662 B
Markdown
26 lines
662 B
Markdown
# 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`
|