1 package # hide from PAUSE
2 DBICTest::Schema::Artist;
4 use base 'DBIx::Class::Core';
6 __PACKAGE__->load_components('Positioned','PK::Auto');
8 DBICTest::Schema::Artist->table('artist');
9 DBICTest::Schema::Artist->add_columns(
11 data_type => 'integer',
12 is_auto_increment => 1
15 data_type => 'varchar',
20 data_type => 'integer',
23 DBICTest::Schema::Artist->set_primary_key('artistid');
24 __PACKAGE__->position_column('position');
26 __PACKAGE__->mk_classdata('field_name_for', {
27 artistid => 'primary key',
28 name => 'artist name',
29 position => 'list position',