Ignore:
Timestamp:
Sep 10, 2009, 1:48:27 AM (12 years ago)
Author:
teymour
Message:

Le rating

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpc/trunk/project/config/doctrine/schema.yml

    r475 r482  
    338338      refClass: CommentaireParlementaires
    339339      foreignAlias: Commentaires
     340  inheritance:
     341    extends: ObjectRated
     342    type: concrete
    340343  indexes:
    341344    commentable:
     
    354357     type: unique
    355358
    356 RateCommentaire:
    357   actAs:
    358     Timestampable:
    359   columns:
    360     commentaire_id: integer
     359ObjectRated:
     360  columns:
     361    rate: integer
     362
     363Rate:
     364  actAs:
     365    Timestampable:
     366  columns:
     367    object_type: string(50)
     368    object_id: integer
    361369    rate: integer
    362370    citoyen_id: integer
     
    364372    Citoyen:
    365373      foreignAlias: Rates
    366     Commentaire:
     374    Object:
    367375      foreignAlias: Rates
     376  indexes:
     377    unique:
     378      fields: [object_type, object_id, citoyen_id]
     379      type: unique
    368380
    369381Article:
     
    386398      default: 'brouillon'
    387399    object_id: integer
     400  inheritance:
     401    extends: ObjectRated
     402    type: concrete
    388403  relations:
    389404    Citoyen:
Note: See TracChangeset for help on using the changeset viewer.