Schema 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