Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Specification Another column #645

Open
flod1 opened this issue Jul 21, 2016 · 0 comments
Open

Specification Another column #645

flod1 opened this issue Jul 21, 2016 · 0 comments

Comments

@flod1
Copy link

flod1 commented Jul 21, 2016

Hello,

how could i change the column name of email or Password?

Statement could not be executed (42S22 - 1054 - Unknown column 'email' in 'where clause')

My Entity Class=>

class User implements UserInterface
{
    /**
     * @ORM\Id
     * @ORM\Column(type="integer")
     * @ORM\GeneratedValue(strategy="AUTO")
     */
    protected $UserID;

    /**
     * @ORM\Column(type="string", length=255)
     */
    protected $UserEmail;

    /**
     * @ORM\Column(type="string", length=32, nullable=true)
     */
    protected $UserPassword;`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant