First commit of DatabaseStateMaintainer.php