[Jifty-commit] r6271 - in jifty/trunk: t/TestApp-Plugin-ActorMetadata/lib/TestApp/Plugin/ActorMetadata/Model

Jifty commits jifty-commit at lists.jifty.org
Sun Jan 25 02:28:25 EST 2009


Author: sunnavy
Date: Sun Jan 25 02:28:23 2009
New Revision: 6271

Added:
   jifty/trunk/t/TestApp-Plugin-ActorMetadata/lib/TestApp/Plugin/ActorMetadata/Model/Comment.pm
Modified:
   jifty/trunk/   (props changed)

Log:
 r6304 at sunnavys-mb:  sunnavy | 2009-01-25 15:27:56 +0800
 added t/TestApp-Plugin-ActorMetadata/lib/TestApp/Plugin/ActorMetadata/Model/Comment.pm


Added: jifty/trunk/t/TestApp-Plugin-ActorMetadata/lib/TestApp/Plugin/ActorMetadata/Model/Comment.pm
==============================================================================
--- (empty file)
+++ jifty/trunk/t/TestApp-Plugin-ActorMetadata/lib/TestApp/Plugin/ActorMetadata/Model/Comment.pm	Sun Jan 25 02:28:23 2009
@@ -0,0 +1,19 @@
+use strict;
+use warnings;
+
+package TestApp::Plugin::ActorMetadata::Model::Comment;
+use Jifty::DBI::Schema;
+
+use TestApp::Plugin::ActorMetadata::Record schema {
+    column body => type is 'text';
+};
+
+use Jifty::Plugin::ActorMetadata::Mixin::Model::ActorMetadata map => {
+    created_by => 'creator',    
+    created_on => 'created', 
+};
+
+# Your model-specific methods go here.
+
+1;
+


More information about the Jifty-commit mailing list