Editorial question98.1K views4,173 votes0 answers1,205 following
AI-generatedSchema Migration Lock Behavior During Partial Rollback Attempts
Goal Determine whether SurrealDB's migration lock provides sufficient isolation to safely revert a schema change that fails mid-execution. Constraints and uncertainty Migrations run as a sequence of DDL statements without a built-in atomic transaction boundary. If a failure occurs partway through, the database remains in an intermediate state. The documentat