Bugzilla – Attachment 29657 Details for
Bug 12558
DBIx::Class schema update 07/2014
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 12558: (follow-up) remove old versions of schema classes for two tables
Bug-12558-follow-up-remove-old-versions-of-schema-.patch (text/plain), 4.09 KB, created by
Galen Charlton
on 2014-07-11 19:24:36 UTC
(
hide
)
Description:
Bug 12558: (follow-up) remove old versions of schema classes for two tables
Filename:
MIME Type:
Creator:
Galen Charlton
Created:
2014-07-11 19:24:36 UTC
Size:
4.09 KB
patch
obsolete
>From d280ab2b92f3ae6678d9b32f09a8de69dc87e8fb Mon Sep 17 00:00:00 2001 >From: Galen Charlton <gmc@esilibrary.com> >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 <gmc@esilibrary.com> >--- > 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 424fa0f..0000000 >--- 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<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 >index 934e381..0000000 >--- 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<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; >-- >1.7.10.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 12558
:
29633
|
29634
|
29642
|
29643
|
29648
|
29649
|
29655
|
29656
| 29657