Is there also a plugin that creates new records on an update?

So, when I edit (update) a record, the original record gets a
deleted_at value and a copy of that record (with ofcourse the new
values processed) is created with a created_at record set to now and
the deleted_at record being null.


On 27 apr, 22:54, HAUSa <[email protected]>
wrote:
> Well that's very useful!! Thx :)
>
> Now, with this plugin you have to put sfPropelBehavior::add('Article',
> array('paranoid')); in every class. Is there perhaps a option for the
> propel:build-all command to make Symfony generate that itself in each
> Base class?
>
> On 27 apr, 21:53, Eno <[email protected]> wrote:
>
> > On Mon, 27 Apr 2009, HAUSa wrote:
> > > I see that Propel uses the first option: complete removal of data from
> > > the database. My question is: is there also built-in support for
> > > option two?
>
> >http://www.symfony-project.org/plugins/sfPropelParanoidBehaviorPlugin
>
> > --
--~--~---------~--~----~------------~-------~--~----~
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