Pixmenia Persistent Assets

Problem:
If you delete all website files and upload a new version, customer generated images can break.

Solution added:
- Admin button: /admin/persistent_assets.php
- Persistent storage helper: includes/persistent_assets.php
- Optional SQL: sql/v19_persistent_assets.sql
- Recommended folder outside code: /home/USERNAME/pixmenia_assets
- Recommended public symlink: public_html/assets-persistent -> /home/USERNAME/pixmenia_assets

Update workflow:
1. Before updating, do not delete /assets-persistent or the real persistent folder.
2. Delete/upload website files as usual.
3. Import SQL only carefully. Prefer migrations, but if you overwrite database, old image records may disappear.
4. Open Admin > Persistent Assets.
5. Click Create / Check Persistent Folders.
6. Click Repair Broken Customer Assets.

Important:
This can repair links only if the actual files still exist in the persistent folder.
If both database records and files are overwritten/deleted, no system can recover them without backup.
