Add nullable fields to fix register bug

This commit is contained in:
Kendrick Chan 2018-01-28 13:37:50 +08:00
parent 469e2673dd
commit f7c9931d9f

View file

@ -51,13 +51,13 @@ class MobileSession
// phone number // phone number
/** /**
*@ORM\Column(type="string", length=12) *@ORM\Column(type="string", length=12, nullable=true)
*/ */
protected $phone_number; protected $phone_number;
// confirm code that we send via SMS // confirm code that we send via SMS
/** /**
*@ORM\Column(type="string", length=6) *@ORM\Column(type="string", length=6, nullable=true)
*/ */
protected $confirm_code; protected $confirm_code;