Fix to add_columns with column info arguments
[dbsrgits/DBIx-Class.git] / t / lib / DBICTest / Schema / Artist.pm
index baf730a..47f22e8 100644 (file)
@@ -3,7 +3,7 @@ package DBICTest::Schema::Artist;
 use base 'DBIx::Class::Core';
 
 DBICTest::Schema::Artist->table('artist');
-DBICTest::Schema::Artist->add_columns(qw/artistid name/);
+DBICTest::Schema::Artist->add_columns('artistid', {}, 'name');
 DBICTest::Schema::Artist->set_primary_key('artistid');
 
 __PACKAGE__->mk_classdata('field_name_for', {