Parent Directory | Revision Log
change mantory -> is mandatory to please new Jifty
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 | column revision => | ||
11 | type is 'int', | ||
12 | dpavlin | 26 | is indexed, |
13 | dpavlin | 53 | is mandatory; |
14 | dpavlin | 1 | |
15 | # column actions => | ||
16 | # refers_to SVNBrowser::Model::Action by 'id'; | ||
17 | |||
18 | column author => | ||
19 | type is 'text', | ||
20 | dpavlin | 53 | is mandatory; |
21 | dpavlin | 1 | |
22 | column commit_date => | ||
23 | type is 'timestamp', | ||
24 | dpavlin | 26 | is indexed, |
25 | dpavlin | 1 | filters are qw( Jifty::Filter::DateTime Jifty::DBI::Filter::DateTime), |
26 | dpavlin | 53 | is mandatory; |
27 | dpavlin | 1 | |
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 |