I'd need to know how to add a default value for a manyToOne field on my entity.orm.yml mapping in Symfony. This code is not working:
manyToOne:
usertype:
targetEntity: Usertype
cascade: { }
mappedBy: null
inversedBy: null
joinColumns:
UserType:
referencedColumnName: ID
orphanRemoval: false
options:
default: 1