Parent Directory | Revision Log
a bunch of improvements: - moved regex to extract branch from path to config.yml as branch_regex - added filtering by branch (two new models Branch and RevisionBranch for that) - added indexes where needed to speed-up filtering
1 | dpavlin | 1 | use strict; |
2 | use warnings; | ||
3 | |||
4 | package SVNBrowser::Model::Action; | ||
5 | |||
6 | use Jifty::DBI::Schema; | ||
7 | |||
8 | use SVNBrowser::Model::Revision; | ||
9 | |||
10 | use SVNBrowser::Record schema { | ||
11 | |||
12 | column revision => | ||
13 | type is 'int', | ||
14 | dpavlin | 26 | is indexed, |
15 | dpavlin | 1 | mandatory; |
16 | |||
17 | column type => | ||
18 | type is 'char', | ||
19 | valid are qw( A M D ), | ||
20 | mandatory; | ||
21 | |||
22 | column branch => | ||
23 | type is 'text', | ||
24 | dpavlin | 26 | is indexed, |
25 | dpavlin | 1 | mandatory; |
26 | |||
27 | column rel_path => | ||
28 | type is 'text', | ||
29 | dpavlin | 26 | is indexed, |
30 | dpavlin | 1 | mandatory; |
31 | |||
32 | }; | ||
33 | |||
34 | # Your model-specific methods go here. | ||
35 | |||
36 | 1; | ||
37 |
ViewVC Help | |
Powered by ViewVC 1.1.26 |