| Jifty documentation | view source | Contained in the Jifty distribution. |
Jifty::Plugin::ActorMetadata - add created_by created_on updated_by updated_on columns to a model class
This plugin adds a model mixin which adds created_by,
created_on, updated_by and updated_on columns to a model
class.
use strict;
use warnings;
package YourApp::Model::Thingy;
use Jifty::DBI::Schema;
use YourApp::Record schema {
...
};
use Jifty::Plugin::ActorMetadata::Mixin::Model::ActorMetadata;
#Provides created_by, created_on, updated_by and updated_on
| Jifty documentation | view source | Contained in the Jifty distribution. |