Commit | Line | Data |
c6d74d3e |
1 | package # hide from PAUSE \r |
2 | ActorAlias;\r |
33ce49d6 |
3 | \r |
4 | BEGIN { unshift @INC, './t/testlib'; }\r |
5 | \r |
6 | use strict;\r |
7 | use warnings;\r |
8 | \r |
9 | use 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 |
18 | sub 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 |
26 | 1;\r |
27 | \r |