Parent Directory | Revision Log
tweak to schema, tests
1 | use strict; |
2 | use warnings; |
3 | |
4 | package Arh::Model::Location; |
5 | use Jifty::DBI::Schema; |
6 | |
7 | use Arh::Record schema { |
8 | |
9 | column name => |
10 | label is _("Name"), |
11 | is mandatory; |
12 | |
13 | column address => |
14 | label is _("Address"); |
15 | |
16 | column city => |
17 | label is _("City"); |
18 | |
19 | column country => |
20 | label is _("Country"); |
21 | |
22 | column note => |
23 | label is _("Note"); |
24 | |
25 | }; |
26 | |
27 | # Your model-specific methods go here. |
28 | |
29 | 1; |
30 |
ViewVC Help | |
Powered by ViewVC 1.1.26 |