Replicating same database.php configuration to local.
Adding nullable some fields.
Minor alterarion: changing proof_body to bodies in foreach.