1 package # hide from PAUSE
2 DBICTest::Schema::Employee::AdjacencyList;
4 use base 'DBIx::Class';
6 __PACKAGE__->load_components(qw(
12 __PACKAGE__->table('employees_adjacencylist');
14 __PACKAGE__->add_columns(
16 data_type => 'integer',
17 is_auto_increment => 1
20 data_type => 'integer',
24 data_type => 'varchar',
30 __PACKAGE__->set_primary_key('employee_id');
31 __PACKAGE__->parent_column('parent_id');
33 __PACKAGE__->mk_classdata('field_name_for', {
34 employee_id => 'primary key',
35 parent_id => 'parent id',
36 name => 'employee name',