__PACKAGE__->add_columns( "album_id", { data_type => "integer", is_auto_increment => 1, is_nullable => 0 }, "album_name", { data_type => "text", is_nullable => 1 }, "artist_id", { data_type => "integer", is_foreign_key => 1, is_nullable => 1 }, "genre", { data_type => "text", is_nullable => 1 }, "source", { data_type => "text", is_nullable => 1 }, ); #### __PACKAGE__->belongs_to( "artist", "music_library::Schema::Result::Artist", { artist_id => "artist_id" }, { is_deferrable => 0, join_type => "LEFT", on_delete => "NO ACTION", on_update => "NO ACTION", }, );