/[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 53 - (show annotations)
Mon Mar 19 17:25:21 2007 UTC (17 years, 1 month ago) by dpavlin
File size: 604 byte(s)
change mantory -> is mandatory to please new Jifty
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 revision =>
11 type is 'int',
12 is indexed,
13 is mandatory;
14
15 # column actions =>
16 # refers_to SVNBrowser::Model::Action by 'id';
17
18 column author =>
19 type is 'text',
20 is mandatory;
21
22 column commit_date =>
23 type is 'timestamp',
24 is indexed,
25 filters are qw( Jifty::Filter::DateTime Jifty::DBI::Filter::DateTime),
26 is mandatory;
27
28 column message =>
29 type is 'text',
30 render as 'textarea';
31
32 };
33
34 # Your model-specific methods go here.
35
36 1;
37

  ViewVC Help
Powered by ViewVC 1.1.26