added more many_to_many tests and changed add_to_rel to accept linking table column...
[dbsrgits/DBIx-Class-Historic.git] / t / testlib / Order.pm
1 package # hide from PAUSE 
2     Order;
3
4 BEGIN { unshift @INC, './t/testlib'; }
5
6 use strict;
7 use base 'DBIx::Class::Test::SQLite';
8
9 __PACKAGE__->set_table('orders');
10 __PACKAGE__->table_alias('orders');
11 __PACKAGE__->columns(Primary => 'film');
12 __PACKAGE__->columns(Others  => qw/orders/);
13
14 sub create_sql {
15         return qq{
16                 film     VARCHAR(255),
17                 orders   INTEGER
18         };
19 }
20
21 1;
22