/[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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 55 - (show annotations)
Mon Sep 3 19:01:02 2007 UTC (16 years, 7 months ago) by dpavlin
File size: 709 byte(s)
created Repository model
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 column repository =>
11 refers_to SVNBrowser::Model::Repository by 'id',
12 is indexed,
13 is mandatory;
14
15 column revision =>
16 type is 'int',
17 is indexed,
18 is mandatory;
19
20 # column actions =>
21 # refers_to SVNBrowser::Model::Action by 'id';
22
23 column author =>
24 type is 'text',
25 is mandatory;
26
27 column commit_date =>
28 type is 'timestamp',
29 is indexed,
30 filters are qw( Jifty::Filter::DateTime Jifty::DBI::Filter::DateTime ),
31 is mandatory;
32
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