3 BEGIN { unshift @INC, './t/testlib'; }
8 use base 'DBIx::Class::Test::SQLite';
10 __PACKAGE__->set_table('Actor');
12 __PACKAGE__->columns(Primary => 'id');
13 __PACKAGE__->columns(All => qw/ Name Film Salary /);
14 __PACKAGE__->columns(TEMP => qw/ nonpersistent /);
15 __PACKAGE__->add_constructor(salary_between => 'salary >= ? AND salary <= ?');
17 sub mutator_name { "set_$_[1]" }
21 id INTEGER PRIMARY KEY,