I have problem. I have to change type of fos_user.id to bigint. But I don't know how to do it. I have overriden the FOSUserBundle and I have tried code below, it's works but not for id.:
/**
* @ORM\Entity
* @ORM\Table(name="sf_guard_user")
* @ORM\AttributeOverrides({
* @ORM\AttributeOverride(name="id", column=@ORM\Column(type="bigint", name="id")),
* @ORM\AttributeOverride(name="email", column=@ORM\Column(type="string", name="email_address", length=255)),
* })
*/
class User extends BaseUser implements EncoderAwareInterface {
//...
}