Hey,

My schema was containing the following :

email_address:
      type: string(255)
      notnull: true
      email: true

When I do : if ($column->getDefinitionKey('email')) ...., it works.

I want to be able to create other key like the email one above. I
tried :

city_name:
      type: string(255)
      notnull: true
      cityname: true

But, when I do : symfony doctrine:build-model, I get :

Invalid schema element named "cityname" at path "cities->columns-
>city_name"

I search the code to this if email was hardcoded, but it does not seem
so.

Can someone help me get it work ?

Regards,

Frédéric.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to