namespace Wallabag\ApiBundle\Entity;
-use FOS\OAuthServerBundle\Entity\AuthCode as BaseAuthCode;
use Doctrine\ORM\Mapping as ORM;
+use FOS\OAuthServerBundle\Entity\AuthCode as BaseAuthCode;
/**
* @ORM\Table("oauth2_auth_codes")
* @ORM\Entity
+ * @ORM\AttributeOverrides({
+ * @ORM\AttributeOverride(name="token",
+ * column=@ORM\Column(
+ * name = "token",
+ * type = "string",
+ * length = 191
+ * )
+ * ),
+ * @ORM\AttributeOverride(name="scope",
+ * column=@ORM\Column(
+ * name = "scope",
+ * type = "string",
+ * length = 191
+ * )
+ * )
+ * })
*/
class AuthCode extends BaseAuthCode
{