1 package # hide from PAUSE
2 DBICTest::Schema::Employee::Positional;
4 use base 'DBIx::Class';
6 __PACKAGE__->load_components(qw( Positional PK::Auto Core ));
8 __PACKAGE__->table('employees_positional');
10 __PACKAGE__->add_columns(
12 data_type => 'integer',
13 is_auto_increment => 1
16 data_type => 'integer',
19 data_type => 'integer',
23 data_type => 'varchar',
29 __PACKAGE__->set_primary_key('employee_id');
30 __PACKAGE__->position_column('position');
32 __PACKAGE__->mk_classdata('field_name_for', {
33 employee_id => 'primary key',
34 position => 'list position',
35 group_id => 'collection column',
36 name => 'employee name',