1 package # hide from PAUSE
2 DBICTest::Schema::Employee::AdjacencyList;
4 use base 'DBIx::Class';
6 __PACKAGE__->load_components(qw(
13 __PACKAGE__->table('employees_adjacencylist');
15 __PACKAGE__->add_columns(
17 data_type => 'integer',
18 is_auto_increment => 1
21 data_type => 'integer',
24 data_type => 'integer',
28 data_type => 'varchar',
34 __PACKAGE__->set_primary_key('employee_id');
35 __PACKAGE__->parent_column('parent_id');
36 __PACKAGE__->position_column('position');
38 __PACKAGE__->mk_classdata('field_name_for', {
39 employee_id => 'primary key',
40 parent_id => 'parent id',
41 position => 'list order',
42 name => 'employee name',