X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Debbugs%2FDB%2FResult%2FBugPackage.pm;fp=Debbugs%2FDB%2FResult%2FBugPackage.pm;h=0000000000000000000000000000000000000000;hb=1e6633a3780f4fd53fc4303852e84d13cdad2dc6;hp=db6f2005595dc8f76fed552dd8ada6c243089156;hpb=466f7faff129a5699c7674f59900a92aa256175d;p=debbugs.git diff --git a/Debbugs/DB/Result/BugPackage.pm b/Debbugs/DB/Result/BugPackage.pm deleted file mode 100644 index db6f200..0000000 --- a/Debbugs/DB/Result/BugPackage.pm +++ /dev/null @@ -1,86 +0,0 @@ -use utf8; -package Debbugs::DB::Result::BugPackage; - -# Created by DBIx::Class::Schema::Loader -# DO NOT MODIFY THE FIRST PART OF THIS FILE - -=head1 NAME - -Debbugs::DB::Result::BugPackage - -=cut - -use strict; -use warnings; - -use base 'DBIx::Class::Core'; - -=head1 COMPONENTS LOADED - -=over 4 - -=item * L - -=item * L - -=back - -=cut - -__PACKAGE__->load_components("InflateColumn::DateTime", "TimeStamp"); -__PACKAGE__->table_class("DBIx::Class::ResultSource::View"); - -=head1 TABLE: C - -=cut - -__PACKAGE__->table("bug_package"); -__PACKAGE__->result_source_instance->view_definition(" SELECT b.bug,\n b.bin_pkg AS pkg_id,\n 'binary'::text AS pkg_type,\n bp.pkg AS package\n FROM (bug_binpackage b\n JOIN bin_pkg bp ON ((bp.id = b.bin_pkg)))\nUNION\n SELECT s.bug,\n s.src_pkg AS pkg_id,\n 'source'::text AS pkg_type,\n sp.pkg AS package\n FROM (bug_srcpackage s\n JOIN src_pkg sp ON ((sp.id = s.src_pkg)))\nUNION\n SELECT b.bug,\n b.bin_pkg AS pkg_id,\n 'binary_affects'::text AS pkg_type,\n bp.pkg AS package\n FROM (bug_affects_binpackage b\n JOIN bin_pkg bp ON ((bp.id = b.bin_pkg)))\nUNION\n SELECT s.bug,\n s.src_pkg AS pkg_id,\n 'source_affects'::text AS pkg_type,\n sp.pkg AS package\n FROM (bug_affects_srcpackage s\n JOIN src_pkg sp ON ((sp.id = s.src_pkg)))"); - -=head1 ACCESSORS - -=head2 bug - - data_type: 'integer' - is_nullable: 1 - -=head2 pkg_id - - data_type: 'integer' - is_nullable: 1 - -=head2 pkg_type - - data_type: 'text' - is_nullable: 1 - -=head2 package - - data_type: 'text' - is_nullable: 1 - -=cut - -__PACKAGE__->add_columns( - "bug", - { data_type => "integer", is_nullable => 1 }, - "pkg_id", - { data_type => "integer", is_nullable => 1 }, - "pkg_type", - { data_type => "text", is_nullable => 1 }, - "package", - { data_type => "text", is_nullable => 1 }, -); - - -# Created by DBIx::Class::Schema::Loader v0.07046 @ 2017-04-13 11:30:02 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:2Nrl+KO8b94gK5GcCkdNcw - -__PACKAGE__->result_source_instance->view_definition(<