Getting erros while following the Youtube guides for modding

Hey everyone,
I set up the database already. The editor is working but I am getting errors while creating a sub brain subbrain . rollback
pgAdmin4 is running but I am not sure why I am getting these errors.