1 package DBICTest::Schema::Artist;
3 use base 'DBIx::Class::Core';
5 DBICTest::Schema::Artist->table('artist');
6 DBICTest::Schema::Artist->add_columns(
8 data_type => 'integer',
12 data_type => 'varchar',
16 DBICTest::Schema::Artist->set_primary_key('artistid');
18 __PACKAGE__->mk_classdata('field_name_for', {
19 artistid => 'primary key',
20 name => 'artist name',