Yes, it should work like that. Did you try it ?
François
2008/5/2 djoos <[EMAIL PROTECTED]>:
>
> When making use of the sfPropelAlternativeSchemaPlugin (and modifying
> the settings for the builder in propel.ini - as described on the
> plugin's page), it is possible to use custom schema's for plugin
> defined schema's by defining a PluginName_schema.custom.yml-file in
> your config folder.
>
> In the custom schema it is possible to enable behaviors, eg.:
> sf_guard_permission:
> _attributes: { phpName: sfGuardPermission, package:
> plugins.sfGuardPlugin.lib.model }
> created_at: { type: TIMESTAMP, description: "When was this
> record created?" }
> created_by: { type: VARCHAR, size: 255, description: "Who
> created this record?" }
> updated_at: { type: TIMESTAMP, description: "When was this
> record updated?" }
> updated_by: { type: VARCHAR, size: 255, description: "Who
> updated this record?" }
> deleted_at: { type: TIMESTAMP, description: "When was this
> record deleted?" }
> deleted_by: { type: VARCHAR, size: 255, description: "Who
> deleted this record?" }
> _behaviors:
> paranoid: { column: deleted_at }
>
> But is it -and if so, how?- possible to enable multiple behaviors,
> eg.:
> _behaviors:
> paranoid: { column: deleted_at }
> sfPropelActAsSignableBehavior: { columns: { created: created_by,
> updated: updated_by, deleted: deleted_by} }
>
> Thanks!
> >
>
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"symfony developers" 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-devs?hl=en
-~----------~----~----~----~------~----~------~--~---