Fix to add_columns with column info arguments
[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('artistid', {}, 'name');
7 DBICTest::Schema::Artist->set_primary_key('artistid');
8
9 __PACKAGE__->mk_classdata('field_name_for', {
10     artistid    => 'primary key',
11     name        => 'artist name',
12 });
13
14 1;