Hi,

I'm learning Symfony with Doctrine at the moment and stuck

This schema:

City:
  columns:
    id:
      type: integer
      primary: true
      autoincrement: true
    name:
      type: string(50)
      notnull: true

Suburb:
  columns:
    id:
      type: integer
      primary: true
      autoincrement: true
    name:
      type: string(50)
      notnull: true
    city_id:
      type: integer
      notnull: true
  relations:
    City:
      foreignAlias: Suburbs

Giving me:

Validation failed in class Suburb

    1 field had validation error:

      * 1 validator failed on city_id (type)

What is wrong with the schema? I tried changing few things but still
getting the same error

Regards,

Sid

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

Reply via email to