# TODO ## Done - [x] Replace unicode left arrow (←) with SVG arrow icon in admin nav logo ## Fixes - [x] Fix CSV import UNIQUE constraint crash: skip rows whose identifier already exists in DB - [x] Auto-migrate both test.db and posterg.db on `just serve` via scripts/migrate.sh - [x] Fix wrong `require_once` depth in `public/admin/actions/page.php` (`../../` → `../../../`) - [x] Fix same path depth bug in `formulaire.php` and `publish.php` - [x] Fix CSV import: imported theses not visible on public site (is_published defaulted to 0, access_type_id never set) - [x] Fix DB routing: local dev (php -S) auto-uses test.db, production (nginx/fpm) uses posterg.db — no env var needed - [x] migrate.sh auto-initialises DB from schema when absent/empty; existing DBs untouched - [x] Consolidate admin/public templates: shared head.php, admin/nav.php partial, common.css loaded first in admin, removed duplicate a11y CSS - [x] admin/head.php now includes public/head.php as base (single source of boilerplate); removed duplicate font-family from .admin-body; wired templates/footer.php to all public pages; fixed duplicate body{} in common.css