Remove extraneous sources for aliasing test; same effect can be achieved using search...
[dbsrgits/DBIx-Class.git] / t / lib / DBICTest / Schema / Artist.pm
index 66d15b5..0bb49c4 100644 (file)
@@ -9,10 +9,6 @@ __PACKAGE__->add_columns(
     data_type => 'integer',
     is_auto_increment => 1
   },
-  'agent' => {
-    data_type   => 'integer',
-    is_nullable => 1,
-  },
   'name' => {
     data_type => 'varchar',
     size      => 100,
@@ -23,7 +19,6 @@ __PACKAGE__->set_primary_key('artistid');
 
 __PACKAGE__->mk_classdata('field_name_for', {
     artistid    => 'primary key',
-    agent       => 'agent',
     name        => 'artist name',
 });
 
@@ -32,8 +27,6 @@ __PACKAGE__->has_many(
     { order_by => 'year' },
 );
 
-__PACKAGE__->belongs_to( agent => 'DBICTest::Schema::Agent' );
-
 __PACKAGE__->has_many( twokeys => 'DBICTest::Schema::TwoKeys' );
 __PACKAGE__->has_many( onekeys => 'DBICTest::Schema::OneKey' );