Tests for inflating timestamp fields to DateTime
[dbsrgits/DBIx-Class.git] / t / testlib / ActorAlias.pm
CommitLineData
c6d74d3e 1package # hide from PAUSE \r
2 ActorAlias;\r
33ce49d6 3\r
4BEGIN { unshift @INC, './t/testlib'; }\r
5\r
6use strict;\r
7use warnings;\r
8\r
9use base 'DBIx::Class::Test::SQLite';\r
10\r
11__PACKAGE__->set_table( 'ActorAlias' );\r
12\r
13__PACKAGE__->columns( Primary => 'id' );\r
14__PACKAGE__->columns( All => qw/ actor alias / );\r
15__PACKAGE__->has_a( actor => 'Actor' );\r
16__PACKAGE__->has_a( alias => 'Actor' );\r
17\r
18sub create_sql {\r
19 return qq{\r
20 id INTEGER PRIMARY KEY,\r
21 actor INTEGER,\r
22 alias INTEGER\r
23 }\r
24}\r
25\r
261;\r
27\r