To be more precise, here's an extract from schema.yml :

=================
Obj:
  columns:
    name:
      type: string(25)
    num_serie:
      type: string(45)
      notnull: true
  relations:
    Eth:
      class: Eth
      local: id
      foreign: id_obj
      type: many
      cascade: [delete]

===================
Pc:
  inheritance:
    extends: Obj
    type: column_aggregation
    keyField: id_type_obj
    keyValue: 1
  columns:
    id_typeOrdi:
      type: integer(2)
      notnull: false
===================

Eth:
  columns:
    id_obj:
      type: integer
      notnull: true
    adr_ip:
      type: string(15)
      notnull: true
    adr_mac:
      type: string(17)
      notnull: true
    name:
      type: string(20)
      notnull: true
  relations:
    Obj:
      local: id_obj
      foreign: id
      foreignType: one
=====================

-- 
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-us...@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