/[SVNBrowser]/trunk/lib/SVNBrowser/Model/Revision.pm
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Annotation of /trunk/lib/SVNBrowser/Model/Revision.pm

Parent Directory Parent Directory | Revision Log Revision Log


Revision 55 - (hide annotations)
Mon Sep 3 19:01:02 2007 UTC (16 years, 8 months ago) by dpavlin
File size: 709 byte(s)
created Repository model
1 dpavlin 1 use strict;
2     use warnings;
3    
4     package SVNBrowser::Model::Revision;
5     use Jifty::DBI::Schema;
6     use SVNBrowser::Model::Action;
7    
8     use SVNBrowser::Record schema {
9    
10 dpavlin 55 column repository =>
11     refers_to SVNBrowser::Model::Repository by 'id',
12     is indexed,
13     is mandatory;
14    
15 dpavlin 1 column revision =>
16     type is 'int',
17 dpavlin 26 is indexed,
18 dpavlin 53 is mandatory;
19 dpavlin 1
20     # column actions =>
21     # refers_to SVNBrowser::Model::Action by 'id';
22    
23     column author =>
24     type is 'text',
25 dpavlin 53 is mandatory;
26 dpavlin 1
27     column commit_date =>
28     type is 'timestamp',
29 dpavlin 26 is indexed,
30 dpavlin 55 filters are qw( Jifty::Filter::DateTime Jifty::DBI::Filter::DateTime ),
31 dpavlin 53 is mandatory;
32 dpavlin 1
33     column message =>
34     type is 'text',
35     render as 'textarea';
36    
37     };
38    
39     # Your model-specific methods go here.
40    
41     1;
42    

  ViewVC Help
Powered by ViewVC 1.1.26