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