Bugzilla – Attachment 78883 Details for
Bug 18925
Move maxissueqty and maxonsiteissueqty to circulation_rules
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 18925: Remove schema files for deleted tables
Bug-18925-Remove-schema-files-for-deleted-tables.patch (text/plain), 4.99 KB, created by
Jonathan Druart
on 2018-09-15 20:19:47 UTC
(
hide
)
Description:
Bug 18925: Remove schema files for deleted tables
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2018-09-15 20:19:47 UTC
Size:
4.99 KB
patch
obsolete
>From d0d9e67b3931ff05456dd7983ef431f2192a7602 Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Tue, 11 Jul 2017 09:45:44 -0400 >Subject: [PATCH] Bug 18925: Remove schema files for deleted tables > >--- > Koha/Schema/Result/BranchBorrowerCircRule.pm | 122 -------------------------- > Koha/Schema/Result/DefaultBorrowerCircRule.pm | 96 -------------------- > 2 files changed, 218 deletions(-) > delete mode 100644 Koha/Schema/Result/BranchBorrowerCircRule.pm > delete mode 100644 Koha/Schema/Result/DefaultBorrowerCircRule.pm > >diff --git a/Koha/Schema/Result/BranchBorrowerCircRule.pm b/Koha/Schema/Result/BranchBorrowerCircRule.pm >deleted file mode 100644 >index be6cd45c00..0000000000 >--- a/Koha/Schema/Result/BranchBorrowerCircRule.pm >+++ /dev/null >@@ -1,122 +0,0 @@ >-use utf8; >-package Koha::Schema::Result::BranchBorrowerCircRule; >- >-# Created by DBIx::Class::Schema::Loader >-# DO NOT MODIFY THE FIRST PART OF THIS FILE >- >-=head1 NAME >- >-Koha::Schema::Result::BranchBorrowerCircRule >- >-=cut >- >-use strict; >-use warnings; >- >-use base 'DBIx::Class::Core'; >- >-=head1 TABLE: C<branch_borrower_circ_rules> >- >-=cut >- >-__PACKAGE__->table("branch_borrower_circ_rules"); >- >-=head1 ACCESSORS >- >-=head2 branchcode >- >- data_type: 'varchar' >- is_foreign_key: 1 >- is_nullable: 0 >- size: 10 >- >-=head2 categorycode >- >- data_type: 'varchar' >- is_foreign_key: 1 >- is_nullable: 0 >- size: 10 >- >-=head2 maxissueqty >- >- data_type: 'integer' >- is_nullable: 1 >- >-=head2 maxonsiteissueqty >- >- data_type: 'integer' >- is_nullable: 1 >- >-=head2 max_holds >- >- data_type: 'integer' >- is_nullable: 1 >- >-=cut >- >-__PACKAGE__->add_columns( >- "branchcode", >- { data_type => "varchar", is_foreign_key => 1, is_nullable => 0, size => 10 }, >- "categorycode", >- { data_type => "varchar", is_foreign_key => 1, is_nullable => 0, size => 10 }, >- "maxissueqty", >- { data_type => "integer", is_nullable => 1 }, >- "maxonsiteissueqty", >- { data_type => "integer", is_nullable => 1 }, >- "max_holds", >- { data_type => "integer", is_nullable => 1 }, >-); >- >-=head1 PRIMARY KEY >- >-=over 4 >- >-=item * L</categorycode> >- >-=item * L</branchcode> >- >-=back >- >-=cut >- >-__PACKAGE__->set_primary_key("categorycode", "branchcode"); >- >-=head1 RELATIONS >- >-=head2 branchcode >- >-Type: belongs_to >- >-Related object: L<Koha::Schema::Result::Branch> >- >-=cut >- >-__PACKAGE__->belongs_to( >- "branchcode", >- "Koha::Schema::Result::Branch", >- { branchcode => "branchcode" }, >- { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" }, >-); >- >-=head2 categorycode >- >-Type: belongs_to >- >-Related object: L<Koha::Schema::Result::Category> >- >-=cut >- >-__PACKAGE__->belongs_to( >- "categorycode", >- "Koha::Schema::Result::Category", >- { categorycode => "categorycode" }, >- { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" }, >-); >- >- >-# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-08-25 15:10:08 >-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:lgs8B3omV3Au570af/VF2g >- >- >-# You can replace this text with custom content, and it will be preserved on regeneration >-1; >diff --git a/Koha/Schema/Result/DefaultBorrowerCircRule.pm b/Koha/Schema/Result/DefaultBorrowerCircRule.pm >deleted file mode 100644 >index 407b911b9e..0000000000 >--- a/Koha/Schema/Result/DefaultBorrowerCircRule.pm >+++ /dev/null >@@ -1,96 +0,0 @@ >-use utf8; >-package Koha::Schema::Result::DefaultBorrowerCircRule; >- >-# Created by DBIx::Class::Schema::Loader >-# DO NOT MODIFY THE FIRST PART OF THIS FILE >- >-=head1 NAME >- >-Koha::Schema::Result::DefaultBorrowerCircRule >- >-=cut >- >-use strict; >-use warnings; >- >-use base 'DBIx::Class::Core'; >- >-=head1 TABLE: C<default_borrower_circ_rules> >- >-=cut >- >-__PACKAGE__->table("default_borrower_circ_rules"); >- >-=head1 ACCESSORS >- >-=head2 categorycode >- >- data_type: 'varchar' >- is_foreign_key: 1 >- is_nullable: 0 >- size: 10 >- >-=head2 maxissueqty >- >- data_type: 'integer' >- is_nullable: 1 >- >-=head2 maxonsiteissueqty >- >- data_type: 'integer' >- is_nullable: 1 >- >-=head2 max_holds >- >- data_type: 'integer' >- is_nullable: 1 >- >-=cut >- >-__PACKAGE__->add_columns( >- "categorycode", >- { data_type => "varchar", is_foreign_key => 1, is_nullable => 0, size => 10 }, >- "maxissueqty", >- { data_type => "integer", is_nullable => 1 }, >- "maxonsiteissueqty", >- { data_type => "integer", is_nullable => 1 }, >- "max_holds", >- { data_type => "integer", is_nullable => 1 }, >-); >- >-=head1 PRIMARY KEY >- >-=over 4 >- >-=item * L</categorycode> >- >-=back >- >-=cut >- >-__PACKAGE__->set_primary_key("categorycode"); >- >-=head1 RELATIONS >- >-=head2 categorycode >- >-Type: belongs_to >- >-Related object: L<Koha::Schema::Result::Category> >- >-=cut >- >-__PACKAGE__->belongs_to( >- "categorycode", >- "Koha::Schema::Result::Category", >- { categorycode => "categorycode" }, >- { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" }, >-); >- >- >-# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-08-25 15:10:09 >-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:hv9wFvd5mb8Ch7RPCZynoA >- >- >-# You can replace this text with custom content, and it will be preserved on regeneration >-1; >-- >2.11.0
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 18925
:
65238
|
65239
|
65240
|
67024
|
67025
|
67026
|
67621
|
70992
|
70993
|
70994
|
70995
|
70996
|
71032
|
71033
|
71043
|
71044
|
71045
|
71046
|
71047
|
72225
|
72226
|
72227
|
72228
|
72229
|
77225
|
77226
|
77227
|
77228
|
77229
|
78881
|
78882
|
78883
|
78884
|
78885
|
78886
|
79642
|
79643
|
79644
|
79645
|
79646
|
81091
|
81092
|
81093
|
81094
|
81095
|
82927
|
82928
|
82929
|
82930
|
82931
|
85480
|
85481
|
85482
|
85483
|
85484
|
85485
|
85486
|
85939
|
85940
|
85941
|
85942
|
85943
|
85944
|
85945
|
85946
|
85947
|
85948
|
85949
|
85950
|
85951
|
85953
|
85954
|
85955
|
85956
|
85957
|
85958
|
85959
|
85960
|
85961
|
85962
|
85963
|
85964
|
85965
|
86068
|
86069
|
86070
|
86071
|
86072
|
86073
|
86074
|
86075
|
86076
|
86077
|
86078
|
86079
|
86080
|
86081
|
86121
|
86165
|
86206
|
86207