Update to add myself to contributors and to hide Modules from the PAUSE Indexer.
[dbsrgits/DBIx-Class.git] / t / lib / DBICTest / Schema / Artist.pm
CommitLineData
11b78bd6 1package DBICTest::Schema::Artist;
a02675cd 2
3use base 'DBIx::Class::Core';
4
333cce60 5__PACKAGE__->load_components('PK::Auto');
6
11b78bd6 7DBICTest::Schema::Artist->table('artist');
0009fa49 8DBICTest::Schema::Artist->add_columns(
9 'artistid' => {
10 data_type => 'integer',
11 is_auto_increment => 1
12 },
13 'name' => {
14 data_type => 'varchar',
15 is_nullable => 1,
16 },
17);
11b78bd6 18DBICTest::Schema::Artist->set_primary_key('artistid');
a02675cd 19
90e6de6c 20__PACKAGE__->mk_classdata('field_name_for', {
21 artistid => 'primary key',
22 name => 'artist name',
23});
24
a02675cd 251;