1package # hide from PAUSE
2    DSCTest::Schema::SourceStatic;
3
4use base 'DBIx::Class';
5
6__PACKAGE__->load_components(qw/DynamicSubclass Core/);
7__PACKAGE__->table('test');
8__PACKAGE__->add_columns(
9    id   => {
10        data_type   => 'int',
11        is_nullable => 0,
12    },
13    type => {
14        data_type   => 'smallint',
15        is_nullable => 1,
16    },
17);
18
19__PACKAGE__->set_primary_key('id');
20
21__PACKAGE__->typecast_map(type => {
22    1 => 'DSCTest::Schema::SourceStatic::Type1',
23    2 => 'DSCTest::Schema::SourceStatic::Type2',
24});
25
261;
27