Furniture\UserBundle\Entity\User:
    type: entity
    table: users

    manyToOne:
        factory:
            targetEntity: Furniture\FactoryBundle\Entity\Factory
            inversedBy: users
            cascade: [ persist ]
            joinColumn:
                name: factory_id
                referencedColumnName: id
                nullable: true
                onDelete: SET NULL

    oneToOne:
        retailerUserProfile:
            targetEntity: Furniture\RetailerBundle\Entity\RetailerUserProfile
            mappedBy: user
            cascade: [ persist ]

    fields:
        needResetPassword:
            column: need_reset_password
            type: boolean
            options:
                default: false

Furniture\UserBundle\Entity\User:
    type: entity
    table: users

    manyToOne:
        factory:
            targetEntity: Furniture\FactoryBundle\Entity\Factory
            inversedBy: users
            cascade: [ persist ]
            joinColumn:
                name: factory_id
                referencedColumnName: id
                nullable: true
                onDelete: SET NULL

    oneToOne:
        retailerUserProfile:
            targetEntity: Furniture\RetailerBundle\Entity\RetailerUserProfile
            mappedBy: user
            cascade: [ persist ]

    fields:
        needResetPassword:
            column: need_reset_password
            type: boolean

Delete default value for needResetPassword from database
Delete default value for needResetPassword from database
