Parent Directory | Revision Log
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 |