Parent Directory | Revision Log
tweak to schema, tests
1 | dpavlin | 2 | use strict; |
2 | use warnings; | ||
3 | |||
4 | package Arh::Model::UnitMaterial; | ||
5 | use Jifty::DBI::Schema; | ||
6 | |||
7 | use Arh::Record schema { | ||
8 | |||
9 | column unit => | ||
10 | dpavlin | 3 | refers_to Arh::Model::Unit, |
11 | is required; | ||
12 | dpavlin | 2 | column material => |
13 | dpavlin | 3 | refers_to Arh::Model::Material, |
14 | is required; | ||
15 | dpavlin | 2 | |
16 | }; | ||
17 | |||
18 | # Your model-specific methods go here. | ||
19 | |||
20 | 1; | ||
21 |
ViewVC Help | |
Powered by ViewVC 1.1.26 |