use base 'DBIx::Class::Core';
__PACKAGE__->table('artist');
+__PACKAGE__->source_info({
+ "source_info_key_A" => "source_info_value_A",
+ "source_info_key_B" => "source_info_value_B",
+ "source_info_key_C" => "source_info_value_C",
+});
__PACKAGE__->add_columns(
'artistid' => {
data_type => 'integer',
- is_auto_increment => 1
- },
- 'agent' => {
- data_type => 'integer',
- is_nullable => 1,
+ is_auto_increment => 1,
},
'name' => {
data_type => 'varchar',
__PACKAGE__->mk_classdata('field_name_for', {
artistid => 'primary key',
- agent => 'agent',
name => 'artist name',
});
{ order_by => 'year' },
);
-__PACKAGE__->belongs_to( agent => 'DBICTest::Schema::Agent' );
-
__PACKAGE__->has_many( twokeys => 'DBICTest::Schema::TwoKeys' );
__PACKAGE__->has_many( onekeys => 'DBICTest::Schema::OneKey' );