Commit | Line | Data |
---|---|---|
ea2e61bf | 1 | package Order; |
2 | ||
3 | BEGIN { unshift @INC, './t/testlib'; } | |
4 | ||
5 | use strict; | |
6 | use base 'DBIx::Class::Test::SQLite'; | |
7 | ||
8 | __PACKAGE__->set_table('orders'); | |
9 | __PACKAGE__->table_alias('orders'); | |
10 | __PACKAGE__->columns(Primary => 'film'); | |
11 | __PACKAGE__->columns(Others => qw/orders/); | |
12 | ||
13 | sub create_sql { | |
14 | return qq{ | |
15 | film VARCHAR(255), | |
16 | orders INTEGER | |
17 | }; | |
18 | } | |
19 | ||
20 | 1; | |
21 |