From 5e5c0380700565ce1f75a389473ae71910fcb452 Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Fri, 11 Jul 2014 19:13:27 +0000 Subject: [PATCH] Bug 12558: (follow-up) remove old versions of schema classes for two tables 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 Signed-off-by: Tomas Cohen Arazi --- Koha/Schema/Result/CollectionTracking.pm | 77 ----------------------- Koha/Schema/Result/ImportRecordMatches.pm | 77 ----------------------- 2 files changed, 154 deletions(-) delete mode 100644 Koha/Schema/Result/CollectionTracking.pm delete mode 100644 Koha/Schema/Result/ImportRecordMatches.pm diff --git a/Koha/Schema/Result/CollectionTracking.pm b/Koha/Schema/Result/CollectionTracking.pm deleted file mode 100644 index 424fa0fe03..0000000000 --- a/Koha/Schema/Result/CollectionTracking.pm +++ /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 - -=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 - -=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 index 934e3816e7..0000000000 --- a/Koha/Schema/Result/ImportRecordMatches.pm +++ /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 - -=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 - -=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; -- 2.39.5