Editorial question128K views2,535 votes0 answers4,781 following
AI-generatedDrupal Update API + Database Abstraction Layer: Is Automatic Schema Rollback Feasible?
Goal Investigate whether Drupal can automatically revert database schema changes applied by hook_update_N when a subsequent update fails, and identify the current state of this feature. Context Drupal’s Update API applies schema changes via hook_update_N implementations, but the Database Abstraction Layer executes raw DDL without maintaining a version histor