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