@@ -, +, @@ for two tables --- 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 --- a/Koha/Schema/Result/CollectionTracking.pm +++ a/Koha/Schema/Result/CollectionTracking.pm @@ -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; --- a/Koha/Schema/Result/ImportRecordMatches.pm +++ a/Koha/Schema/Result/ImportRecordMatches.pm @@ -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; --