We can now generate our own test schema
[dbsrgits/DBIx-Class.git] / t / lib / DBICTest / Schema / ArtistUndirectedMap.pm
index 3c0a379..8e58312 100644 (file)
@@ -3,7 +3,10 @@ package DBICTest::Schema::ArtistUndirectedMap;
 use base 'DBIx::Class::Core';
 
 __PACKAGE__->table('artist_undirected_map');
-__PACKAGE__->add_columns(qw/id1 id2/);
+__PACKAGE__->add_columns(
+  'id1' => { data_type => 'integer' },
+  'id2' => { data_type => 'integer' },
+);
 __PACKAGE__->set_primary_key(qw/id1 id2/);
 
 1;