Commit e46b1a95 authored by Mahmoud Aglan's avatar Mahmoud Aglan

Add auto-migration on startup with idempotent schema

- Migrator creates _migrations table, tracks executed files by name
- Skips already-run migrations on subsequent deploys
- Schema SQL uses IF NOT EXISTS, DO/EXCEPTION blocks, DROP POLICY IF EXISTS
- Runs before server starts, exits on failure
Co-Authored-By: 's avatarClaude Opus 4.6 <noreply@anthropic.com>
parent 5a159882
Pipeline #37 canceled with stages