MANIFEST nuked out of repo
[dbsrgits/DBIx-Class.git] / t / lib / DBICTest / Schema / Artist.pm
1 package DBICTest::Schema::Artist;
2
3 use base 'DBIx::Class::Core';
4
5 DBICTest::Schema::Artist->table('artist');
6 DBICTest::Schema::Artist->add_columns(
7   'artistid' => {
8     data_type => 'integer',
9     is_auto_increment => 1
10   },
11   'name' => {
12     data_type => 'varchar',
13     is_nullable => 1,
14   },
15 );
16 DBICTest::Schema::Artist->set_primary_key('artistid');
17
18 __PACKAGE__->mk_classdata('field_name_for', {
19     artistid    => 'primary key',
20     name        => 'artist name',
21 });
22
23 1;