P3006: Migration `20240101_init` failed to apply cleanly to the shadow database.
Fixes Prisma error P3006 'Migration failed to apply cleanly to the shadow database' by finding the SQL in the migration that the empty shadow database cannot run, usually generated columns, extensions, or permissions, and rewriting it. Use when migrate dev or migrate deploy fails with P3006. Not for P3018 failed migra…