Commit | Line | Data |
---|---|---|
8273e845 | 1 | package # hide from PAUSE |
818ec409 | 2 | DBICTest::Schema::Money; |
3 | ||
4a233f30 | 4 | use warnings; |
5 | use strict; | |
6 | ||
818ec409 | 7 | use base qw/DBICTest::BaseResult/; |
8 | ||
9 | __PACKAGE__->table('money_test'); | |
10 | ||
11 | __PACKAGE__->add_columns( | |
12 | 'id' => { | |
13 | data_type => 'integer', | |
14 | is_auto_increment => 1, | |
15 | }, | |
16 | 'amount' => { | |
17 | data_type => 'money', | |
18 | is_nullable => 1, | |
19 | }, | |
20 | ); | |
21 | ||
22 | __PACKAGE__->set_primary_key('id'); | |
23 | ||
24 | 1; |