Commit | Line | Data |
---|---|---|
8b229aa6 | 1 | package MTITest::Result::Mixin; |
2 | ||
3 | use strict; | |
4 | use warnings; | |
5 | use parent qw(DBIx::Class::Core); | |
6 | ||
7 | __PACKAGE__->table('mixin'); | |
8 | ||
9 | __PACKAGE__->add_columns( | |
10 | id => { | |
11 | data_type => 'integer', is_auto_increment => 1, sequence => 'foo_id_seq' | |
12 | }, | |
13 | words => { data_type => 'text' } | |
14 | ); | |
15 | ||
16 | __PACKAGE__->set_primary_key('id'); | |
17 | ||
18 | 1; |