From 4e8afc7b0508afa3e3f6f9bc5b4666db25a60a47 Mon Sep 17 00:00:00 2001 From: Don Armstrong Date: Mon, 1 Apr 2013 17:47:59 -0700 Subject: [PATCH] get rid of obsolete results --- Debbugs/DB/Result/BugDoneBy.pm | 145 ------------------------------ Debbugs/DB/Result/BugSeverity.pm | 113 ----------------------- Debbugs/DB/Result/BugSubmitter.pm | 145 ------------------------------ Debbugs/DB/Result/SrcPkgAlias.pm | 123 ------------------------- 4 files changed, 526 deletions(-) delete mode 100644 Debbugs/DB/Result/BugDoneBy.pm delete mode 100644 Debbugs/DB/Result/BugSeverity.pm delete mode 100644 Debbugs/DB/Result/BugSubmitter.pm delete mode 100644 Debbugs/DB/Result/SrcPkgAlias.pm diff --git a/Debbugs/DB/Result/BugDoneBy.pm b/Debbugs/DB/Result/BugDoneBy.pm deleted file mode 100644 index 5fb6e6d..0000000 --- a/Debbugs/DB/Result/BugDoneBy.pm +++ /dev/null @@ -1,145 +0,0 @@ -use utf8; -package Debbugs::DB::Result::BugDoneBy; - -# Created by DBIx::Class::Schema::Loader -# DO NOT MODIFY THE FIRST PART OF THIS FILE - -=head1 NAME - -Debbugs::DB::Result::BugDoneBy - Correspondent who finished this bug (emailed -done) - -=cut - -use strict; -use warnings; - -use base 'DBIx::Class::Core'; - -=head1 COMPONENTS LOADED - -=over 4 - -=item * L - -=back - -=cut - -__PACKAGE__->load_components("InflateColumn::DateTime"); - -=head1 TABLE: C - -=cut - -__PACKAGE__->table("bug_done_by"); - -=head1 ACCESSORS - -=head2 id - - data_type: 'integer' - is_auto_increment: 1 - is_nullable: 0 - sequence: 'bug_done_by_id_seq' - -Bug Done By ID - -=head2 bug - - data_type: 'integer' - is_foreign_key: 1 - is_nullable: 0 - -Bug number which was done - -=head2 done_by - - data_type: 'integer' - is_foreign_key: 1 - is_nullable: 0 - -Bug finisher (connects to correspondent) - -=cut - -__PACKAGE__->add_columns( - "id", - { - data_type => "integer", - is_auto_increment => 1, - is_nullable => 0, - sequence => "bug_done_by_id_seq", - }, - "bug", - { data_type => "integer", is_foreign_key => 1, is_nullable => 0 }, - "done_by", - { data_type => "integer", is_foreign_key => 1, is_nullable => 0 }, -); - -=head1 PRIMARY KEY - -=over 4 - -=item * L - -=back - -=cut - -__PACKAGE__->set_primary_key("id"); - -=head1 UNIQUE CONSTRAINTS - -=head2 C - -=over 4 - -=item * L - -=item * L - -=back - -=cut - -__PACKAGE__->add_unique_constraint("bug_done_by_bug_done_by_idx", ["bug", "done_by"]); - -=head1 RELATIONS - -=head2 bug - -Type: belongs_to - -Related object: L - -=cut - -__PACKAGE__->belongs_to( - "bug", - "Debbugs::DB::Result::Bug", - { id => "bug" }, - { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" }, -); - -=head2 done_by - -Type: belongs_to - -Related object: L - -=cut - -__PACKAGE__->belongs_to( - "done_by", - "Debbugs::DB::Result::Correspondent", - { id => "done_by" }, - { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" }, -); - - -# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-03-25 18:43:53 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:CBqbxeroNjyMIoDmjnAlbw - - -# You can replace this text with custom code or comments, and it will be preserved on regeneration -1; diff --git a/Debbugs/DB/Result/BugSeverity.pm b/Debbugs/DB/Result/BugSeverity.pm deleted file mode 100644 index c2e39d0..0000000 --- a/Debbugs/DB/Result/BugSeverity.pm +++ /dev/null @@ -1,113 +0,0 @@ -use utf8; -package Debbugs::DB::Result::BugSeverity; - -# Created by DBIx::Class::Schema::Loader -# DO NOT MODIFY THE FIRST PART OF THIS FILE - -=head1 NAME - -Debbugs::DB::Result::BugSeverity - Bug <-> tag mapping - -=cut - -use strict; -use warnings; - -use base 'DBIx::Class::Core'; - -=head1 COMPONENTS LOADED - -=over 4 - -=item * L - -=back - -=cut - -__PACKAGE__->load_components("InflateColumn::DateTime"); - -=head1 TABLE: C - -=cut - -__PACKAGE__->table("bug_severity"); - -=head1 ACCESSORS - -=head2 bug - - data_type: 'integer' - is_foreign_key: 1 - is_nullable: 0 - -Bug id (matches bug) - -=head2 severity_id - - data_type: 'integer' - is_foreign_key: 1 - is_nullable: 0 - -Severity id (matches severity) - -=cut - -__PACKAGE__->add_columns( - "bug", - { data_type => "integer", is_foreign_key => 1, is_nullable => 0 }, - "severity_id", - { data_type => "integer", is_foreign_key => 1, is_nullable => 0 }, -); - -=head1 PRIMARY KEY - -=over 4 - -=item * L - -=back - -=cut - -__PACKAGE__->set_primary_key("bug"); - -=head1 RELATIONS - -=head2 bug - -Type: belongs_to - -Related object: L - -=cut - -__PACKAGE__->belongs_to( - "bug", - "Debbugs::DB::Result::Bug", - { id => "bug" }, - { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" }, -); - -=head2 severity - -Type: belongs_to - -Related object: L - -=cut - -__PACKAGE__->belongs_to( - "severity", - "Debbugs::DB::Result::Severity", - { id => "severity_id" }, - { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" }, -); - - -# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-03-25 18:43:53 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:LOIST37qyS/Mh96uRH7ZcQ - - -# You can replace this text with custom code or comments, and it will be preserved on regeneration -1; diff --git a/Debbugs/DB/Result/BugSubmitter.pm b/Debbugs/DB/Result/BugSubmitter.pm deleted file mode 100644 index b16eb5c..0000000 --- a/Debbugs/DB/Result/BugSubmitter.pm +++ /dev/null @@ -1,145 +0,0 @@ -use utf8; -package Debbugs::DB::Result::BugSubmitter; - -# Created by DBIx::Class::Schema::Loader -# DO NOT MODIFY THE FIRST PART OF THIS FILE - -=head1 NAME - -Debbugs::DB::Result::BugSubmitter - Submitter of a bug (connects to correspondent) - -=cut - -use strict; -use warnings; - -use base 'DBIx::Class::Core'; - -=head1 COMPONENTS LOADED - -=over 4 - -=item * L - -=back - -=cut - -__PACKAGE__->load_components("InflateColumn::DateTime"); - -=head1 TABLE: C - -=cut - -__PACKAGE__->table("bug_submitter"); - -=head1 ACCESSORS - -=head2 id - - data_type: 'integer' - is_auto_increment: 1 - is_nullable: 0 - sequence: 'bug_submitter_id_seq' - -Bug Submitter ID - -=head2 bug - - data_type: 'integer' - is_foreign_key: 1 - is_nullable: 0 - -Bug which was submitted by this submitter - -=head2 submitter - - data_type: 'integer' - is_foreign_key: 1 - is_nullable: 0 - -Bug submitter (connects to correspondent) - -=cut - -__PACKAGE__->add_columns( - "id", - { - data_type => "integer", - is_auto_increment => 1, - is_nullable => 0, - sequence => "bug_submitter_id_seq", - }, - "bug", - { data_type => "integer", is_foreign_key => 1, is_nullable => 0 }, - "submitter", - { data_type => "integer", is_foreign_key => 1, is_nullable => 0 }, -); - -=head1 PRIMARY KEY - -=over 4 - -=item * L - -=back - -=cut - -__PACKAGE__->set_primary_key("id"); - -=head1 UNIQUE CONSTRAINTS - -=head2 C - -=over 4 - -=item * L - -=item * L - -=back - -=cut - -__PACKAGE__->add_unique_constraint("bug_submitter_bug_submitter_idx", ["bug", "submitter"]); - -=head1 RELATIONS - -=head2 bug - -Type: belongs_to - -Related object: L - -=cut - -__PACKAGE__->belongs_to( - "bug", - "Debbugs::DB::Result::Bug", - { id => "bug" }, - { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" }, -); - -=head2 submitter - -Type: belongs_to - -Related object: L - -=cut - -__PACKAGE__->belongs_to( - "submitter", - "Debbugs::DB::Result::Correspondent", - { id => "submitter" }, - { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" }, -); - - -# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-03-25 18:43:53 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:xlPjKuzFWXqJs1TxWZ+YSw - - -# You can replace this text with custom code or comments, and it will be preserved on regeneration -1; diff --git a/Debbugs/DB/Result/SrcPkgAlias.pm b/Debbugs/DB/Result/SrcPkgAlias.pm deleted file mode 100644 index 9d77fce..0000000 --- a/Debbugs/DB/Result/SrcPkgAlias.pm +++ /dev/null @@ -1,123 +0,0 @@ -use utf8; -package Debbugs::DB::Result::SrcPkgAlias; - -# Created by DBIx::Class::Schema::Loader -# DO NOT MODIFY THE FIRST PART OF THIS FILE - -=head1 NAME - -Debbugs::DB::Result::SrcPkgAlias - -=cut - -use strict; -use warnings; - -use base 'DBIx::Class::Core'; - -=head1 COMPONENTS LOADED - -=over 4 - -=item * L - -=back - -=cut - -__PACKAGE__->load_components("InflateColumn::DateTime"); - -=head1 TABLE: C - -=cut - -__PACKAGE__->table("src_pkg_alias"); - -=head1 ACCESSORS - -=head2 id - - data_type: 'integer' - is_auto_increment: 1 - is_nullable: 0 - sequence: 'src_pkg_alias_id_seq' - -=head2 src_pkg_id - - data_type: 'integer' - is_foreign_key: 1 - is_nullable: 0 - -=head2 pkg_alias - - data_type: 'text' - is_nullable: 0 - -=cut - -__PACKAGE__->add_columns( - "id", - { - data_type => "integer", - is_auto_increment => 1, - is_nullable => 0, - sequence => "src_pkg_alias_id_seq", - }, - "src_pkg_id", - { data_type => "integer", is_foreign_key => 1, is_nullable => 0 }, - "pkg_alias", - { data_type => "text", is_nullable => 0 }, -); - -=head1 PRIMARY KEY - -=over 4 - -=item * L - -=back - -=cut - -__PACKAGE__->set_primary_key("id"); - -=head1 UNIQUE CONSTRAINTS - -=head2 C - -=over 4 - -=item * L - -=item * L - -=back - -=cut - -__PACKAGE__->add_unique_constraint("pkg_alias_src_pkg_id_idx", ["pkg_alias", "src_pkg_id"]); - -=head1 RELATIONS - -=head2 src_pkg - -Type: belongs_to - -Related object: L - -=cut - -__PACKAGE__->belongs_to( - "src_pkg", - "Debbugs::DB::Result::SrcPkg", - { id => "src_pkg_id" }, - { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" }, -); - - -# Created by DBIx::Class::Schema::Loader v0.07025 @ 2012-07-17 10:25:29 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:y5PGSPakrgG4u/oXIau2pw - - -# You can replace this text with custom code or comments, and it will be preserved on regeneration -1; -- 2.39.2