Bug 12558: (follow-up) remove old versions of schema classes for two tables
authorGalen Charlton <gmc@esilibrary.com>
Fri, 11 Jul 2014 19:13:27 +0000 (19:13 +0000)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Fri, 11 Jul 2014 19:26:48 +0000 (16:26 -0300)
The newer version of DBIx::Class::Schema::Loader tweaks
how it maps plural table names to class names.  As a consequence,
two (currently-unused) classes are renamed.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
Koha/Schema/Result/CollectionTracking.pm [deleted file]
Koha/Schema/Result/ImportRecordMatches.pm [deleted file]

diff --git a/Koha/Schema/Result/CollectionTracking.pm b/Koha/Schema/Result/CollectionTracking.pm
deleted file mode 100644 (file)
index 424fa0f..0000000
+++ /dev/null
@@ -1,77 +0,0 @@
-use utf8;
-package Koha::Schema::Result::CollectionTracking;
-
-# Created by DBIx::Class::Schema::Loader
-# DO NOT MODIFY THE FIRST PART OF THIS FILE
-
-=head1 NAME
-
-Koha::Schema::Result::CollectionTracking
-
-=cut
-
-use strict;
-use warnings;
-
-use base 'DBIx::Class::Core';
-
-=head1 TABLE: C<collections_tracking>
-
-=cut
-
-__PACKAGE__->table("collections_tracking");
-
-=head1 ACCESSORS
-
-=head2 collections_tracking_id
-
-  data_type: 'integer'
-  is_auto_increment: 1
-  is_nullable: 0
-
-=head2 colid
-
-  data_type: 'integer'
-  default_value: 0
-  is_nullable: 0
-
-collections.colId
-
-=head2 itemnumber
-
-  data_type: 'integer'
-  default_value: 0
-  is_nullable: 0
-
-items.itemnumber
-
-=cut
-
-__PACKAGE__->add_columns(
-  "collections_tracking_id",
-  { data_type => "integer", is_auto_increment => 1, is_nullable => 0 },
-  "colid",
-  { data_type => "integer", default_value => 0, is_nullable => 0 },
-  "itemnumber",
-  { data_type => "integer", default_value => 0, is_nullable => 0 },
-);
-
-=head1 PRIMARY KEY
-
-=over 4
-
-=item * L</collections_tracking_id>
-
-=back
-
-=cut
-
-__PACKAGE__->set_primary_key("collections_tracking_id");
-
-
-# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-12-11 16:55:09
-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:CAKCBAZ44Q6yAS2IKOMNlA
-
-
-# You can replace this text with custom content, and it will be preserved on regeneration
-1;
diff --git a/Koha/Schema/Result/ImportRecordMatches.pm b/Koha/Schema/Result/ImportRecordMatches.pm
deleted file mode 100644 (file)
index 934e381..0000000
+++ /dev/null
@@ -1,77 +0,0 @@
-use utf8;
-package Koha::Schema::Result::ImportRecordMatches;
-
-# Created by DBIx::Class::Schema::Loader
-# DO NOT MODIFY THE FIRST PART OF THIS FILE
-
-=head1 NAME
-
-Koha::Schema::Result::ImportRecordMatches
-
-=cut
-
-use strict;
-use warnings;
-
-use base 'DBIx::Class::Core';
-
-=head1 TABLE: C<import_record_matches>
-
-=cut
-
-__PACKAGE__->table("import_record_matches");
-
-=head1 ACCESSORS
-
-=head2 import_record_id
-
-  data_type: 'integer'
-  is_foreign_key: 1
-  is_nullable: 0
-
-=head2 candidate_match_id
-
-  data_type: 'integer'
-  is_nullable: 0
-
-=head2 score
-
-  data_type: 'integer'
-  default_value: 0
-  is_nullable: 0
-
-=cut
-
-__PACKAGE__->add_columns(
-  "import_record_id",
-  { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
-  "candidate_match_id",
-  { data_type => "integer", is_nullable => 0 },
-  "score",
-  { data_type => "integer", default_value => 0, is_nullable => 0 },
-);
-
-=head1 RELATIONS
-
-=head2 import_record
-
-Type: belongs_to
-
-Related object: L<Koha::Schema::Result::ImportRecord>
-
-=cut
-
-__PACKAGE__->belongs_to(
-  "import_record",
-  "Koha::Schema::Result::ImportRecord",
-  { import_record_id => "import_record_id" },
-  { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
-);
-
-
-# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21
-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:VLaEo7f96O80PqFr/baR9A
-
-
-# You can replace this text with custom content, and it will be preserved on regeneration
-1;