Files
xamxam/app/migrations/applied/035_remove_ecriture_image_formats.sql
Pontoporeia 8bb0b3a1f2 refactor: unify FilePond edit previews + clean upload UI and shared fragments
* Move shared `fichiers-fragment.php` from `partage/` to `templates/partials/form/`
  and update all include/require references
* `.gitignore`: exclude SQLite WAL/SHM journal files
* FilePond UI:

  * change uploaded file block border state from yellow to green
  * restyle image previews to use site light-theme colors
* Edit mode:

  * remove custom existing-file preview list implementation
  * preload existing files directly into FilePond pools
  * include `cover` and `note_intention` assets in FilePond-managed state
* Remove obsolete upload progress bar UI and related JS includes
* Remove deprecated `Écriture` + `Image` format types from upload flow/configuration
2026-05-19 00:08:06 +02:00

5 lines
311 B
SQL

-- Migration 035: Remove "Écriture" and "Image" format types.
-- These are no longer considered media formats in the current schema.
DELETE FROM thesis_formats WHERE format_id IN (SELECT id FROM format_types WHERE name IN ('Écriture', 'Image'));
DELETE FROM format_types WHERE name IN ('Écriture', 'Image');