Update to hide modules from the PAUSE Indexer.
[dbsrgits/DBIx-Class.git] / t / testlib / MyFilm.pm
CommitLineData
c6d74d3e 1package # hide from PAUSE
2 MyFilm;
ea2e61bf 3
4BEGIN { unshift @INC, './t/testlib'; }
5use base 'MyBase';
6use MyStarLink;
7
8use strict;
9
10__PACKAGE__->set_table();
11__PACKAGE__->columns(All => qw/filmid title/);
12__PACKAGE__->has_many(_stars => 'MyStarLink');
13__PACKAGE__->columns(Stringify => 'title');
14
15sub _carp { }
16
17sub stars { map $_->star, shift->_stars }
18
19sub create_sql {
20 return qq{
21 filmid TINYINT NOT NULL AUTO_INCREMENT PRIMARY KEY,
22 title VARCHAR(255)
23 };
24}
25
261;
27