Commit | Line | Data |
---|---|---|
11b78bd6 | 1 | package DBICTest::Schema::Artist; |
a02675cd | 2 | |
3 | use base 'DBIx::Class::Core'; | |
4 | ||
11b78bd6 | 5 | DBICTest::Schema::Artist->table('artist'); |
30126ac7 | 6 | DBICTest::Schema::Artist->add_columns('artistid', {}, 'name'); |
11b78bd6 | 7 | DBICTest::Schema::Artist->set_primary_key('artistid'); |
a02675cd | 8 | |
90e6de6c | 9 | __PACKAGE__->mk_classdata('field_name_for', { |
10 | artistid => 'primary key', | |
11 | name => 'artist name', | |
12 | }); | |
13 | ||
a02675cd | 14 | 1; |