Bugzilla – Attachment 101898 Details for
Bug 24412
Attach waiting hold to desk
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 24412: Schema file DO NOT PUSH!
Bug-24412-Schema-file-DO-NOT-PUSH.patch (text/plain), 20.82 KB, created by
Martin Renvoize (ashimema)
on 2020-03-26 17:47:11 UTC
(
hide
)
Description:
Bug 24412: Schema file DO NOT PUSH!
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2020-03-26 17:47:11 UTC
Size:
20.82 KB
patch
obsolete
>From 7d37c5e7afa1b126a6e5b17a2b4fd214d0977581 Mon Sep 17 00:00:00 2001 >From: Nicolas Legrand <nicolas.legrand@bulac.fr> >Date: Mon, 13 Jan 2020 17:51:03 +0100 >Subject: [PATCH] Bug 24412: Schema file DO NOT PUSH! > >--- > Koha/Schema/Result/AccountCreditType.pm | 4 +-- > Koha/Schema/Result/Accountline.pm | 4 +-- > Koha/Schema/Result/AuthorisedValue.pm | 4 +-- > Koha/Schema/Result/AuthorisedValueCategory.pm | 4 +-- > Koha/Schema/Result/Biblio.pm | 4 +-- > Koha/Schema/Result/BiblioMetadata.pm | 4 +-- > Koha/Schema/Result/Borrower.pm | 20 ++++++------ > Koha/Schema/Result/BorrowerAttributeType.pm | 4 +-- > Koha/Schema/Result/BorrowerModification.pm | 4 +-- > Koha/Schema/Result/BorrowerRelationship.pm | 4 +-- > Koha/Schema/Result/Branch.pm | 4 +-- > Koha/Schema/Result/Category.pm | 4 +-- > Koha/Schema/Result/Club.pm | 4 +-- > Koha/Schema/Result/Currency.pm | 4 +-- > Koha/Schema/Result/Deletedbiblio.pm | 4 +-- > Koha/Schema/Result/DeletedbiblioMetadata.pm | 4 +-- > Koha/Schema/Result/Desk.pm | 19 +++++++++-- > Koha/Schema/Result/Issue.pm | 4 +-- > Koha/Schema/Result/Item.pm | 4 +-- > Koha/Schema/Result/Itemtype.pm | 4 +-- > Koha/Schema/Result/OldReserve.pm | 11 +++++-- > Koha/Schema/Result/Overduerule.pm | 4 +-- > Koha/Schema/Result/Reserve.pm | 32 +++++++++++++++++-- > Koha/Schema/Result/SearchField.pm | 4 +-- > Koha/Schema/Result/SearchMarcToField.pm | 4 +-- > Koha/Schema/Result/Serial.pm | 4 +-- > 26 files changed, 110 insertions(+), 60 deletions(-) > >diff --git a/Koha/Schema/Result/AccountCreditType.pm b/Koha/Schema/Result/AccountCreditType.pm >index 4ee8e86b3c..81a8bcc990 100644 >--- a/Koha/Schema/Result/AccountCreditType.pm >+++ b/Koha/Schema/Result/AccountCreditType.pm >@@ -113,8 +113,8 @@ __PACKAGE__->has_many( > ); > > >-# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-02-20 14:48:55 >-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:hdxcXxCqIDxwfSHjSr0VUg >+# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-26 17:44:43 >+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:SDemZxSu5o7YLYQx7QRH4g > > __PACKAGE__->add_columns( > '+is_system' => { is_boolean => 1 } >diff --git a/Koha/Schema/Result/Accountline.pm b/Koha/Schema/Result/Accountline.pm >index 12bb08c17e..7fc6b72de3 100644 >--- a/Koha/Schema/Result/Accountline.pm >+++ b/Koha/Schema/Result/Accountline.pm >@@ -367,8 +367,8 @@ __PACKAGE__->belongs_to( > ); > > >-# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-19 09:20:20 >-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:BuE4CYsSH4BwXZoQKE2MWw >+# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-26 17:44:43 >+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:QUZmegcuDuFJKXSwF31qjQ > > sub koha_objects_class { > 'Koha::Account::Lines'; >diff --git a/Koha/Schema/Result/AuthorisedValue.pm b/Koha/Schema/Result/AuthorisedValue.pm >index 1a65d388c9..5d74b9b93e 100644 >--- a/Koha/Schema/Result/AuthorisedValue.pm >+++ b/Koha/Schema/Result/AuthorisedValue.pm >@@ -145,8 +145,8 @@ __PACKAGE__->has_many( > ); > > >-# Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-02-22 14:32:48 >-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:hDlebhEn+f+thqwBo/LOqQ >+# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-26 17:44:43 >+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:LGi6IGCx+jfYlwqmMfB95Q > > > # You can replace this text with custom code or comments, and it will be preserved on regeneration >diff --git a/Koha/Schema/Result/AuthorisedValueCategory.pm b/Koha/Schema/Result/AuthorisedValueCategory.pm >index fcbb25a832..819fdf30ec 100644 >--- a/Koha/Schema/Result/AuthorisedValueCategory.pm >+++ b/Koha/Schema/Result/AuthorisedValueCategory.pm >@@ -97,8 +97,8 @@ __PACKAGE__->has_many( > ); > > >-# Created by DBIx::Class::Schema::Loader v0.07045 @ 2016-08-30 11:59:31 >-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:6vToj9pUcIv8Jio38rNE4g >+# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-26 17:44:43 >+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:ejnbmrYwAsc/X/8oFnkZdA > > sub koha_objects_class { > 'Koha::AuthorisedValueCategories'; >diff --git a/Koha/Schema/Result/Biblio.pm b/Koha/Schema/Result/Biblio.pm >index 7c66b1dc03..2ded56210b 100644 >--- a/Koha/Schema/Result/Biblio.pm >+++ b/Koha/Schema/Result/Biblio.pm >@@ -406,8 +406,8 @@ __PACKAGE__->has_many( > ); > > >-# Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-10-01 07:08:47 >-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:otCex8qzJmZyc+JXpKNdpQ >+# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-26 17:44:43 >+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:LG3thKoImJHGEQq76dUI8A > > > __PACKAGE__->has_one( >diff --git a/Koha/Schema/Result/BiblioMetadata.pm b/Koha/Schema/Result/BiblioMetadata.pm >index aa1a7b25ee..3c2c9a5b13 100644 >--- a/Koha/Schema/Result/BiblioMetadata.pm >+++ b/Koha/Schema/Result/BiblioMetadata.pm >@@ -132,8 +132,8 @@ __PACKAGE__->belongs_to( > ); > > >-# Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-01-30 11:34:16 >-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:FJk/YOw8Y/QRmmPPL3G5qQ >+# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-26 17:44:43 >+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:VXoC4vLkeDm0VWPkEfwMIg > > sub koha_object_class { > 'Koha::Biblio::Metadata'; >diff --git a/Koha/Schema/Result/Borrower.pm b/Koha/Schema/Result/Borrower.pm >index 92a91b2b91..2b5f39977c 100644 >--- a/Koha/Schema/Result/Borrower.pm >+++ b/Koha/Schema/Result/Borrower.pm >@@ -712,7 +712,7 @@ __PACKAGE__->add_unique_constraint("userid", ["userid"]); > > =head1 RELATIONS > >-=head2 accountlines >+=head2 accountlines_borrowernumbers > > Type: has_many > >@@ -721,7 +721,7 @@ Related object: L<Koha::Schema::Result::Accountline> > =cut > > __PACKAGE__->has_many( >- "accountlines", >+ "accountlines_borrowernumbers", > "Koha::Schema::Result::Accountline", > { "foreign.borrowernumber" => "self.borrowernumber" }, > { cascade_copy => 0, cascade_delete => 0 }, >@@ -1192,7 +1192,7 @@ __PACKAGE__->has_many( > { cascade_copy => 0, cascade_delete => 0 }, > ); > >-=head2 messages >+=head2 messages_borrowernumbers > > Type: has_many > >@@ -1201,13 +1201,13 @@ Related object: L<Koha::Schema::Result::Message> > =cut > > __PACKAGE__->has_many( >- "messages", >+ "messages_borrowernumbers", > "Koha::Schema::Result::Message", >- { "foreign.manager_id" => "self.borrowernumber" }, >+ { "foreign.borrowernumber" => "self.borrowernumber" }, > { cascade_copy => 0, cascade_delete => 0 }, > ); > >-=head2 messages_borrowernumbers >+=head2 messages_managers > > Type: has_many > >@@ -1216,9 +1216,9 @@ Related object: L<Koha::Schema::Result::Message> > =cut > > __PACKAGE__->has_many( >- "messages_borrowernumbers", >+ "messages_managers", > "Koha::Schema::Result::Message", >- { "foreign.borrowernumber" => "self.borrowernumber" }, >+ { "foreign.manager_id" => "self.borrowernumber" }, > { cascade_copy => 0, cascade_delete => 0 }, > ); > >@@ -1673,8 +1673,8 @@ Composing rels: L</aqorder_users> -> ordernumber > __PACKAGE__->many_to_many("ordernumbers", "aqorder_users", "ordernumber"); > > >-# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-24 12:04:30 >-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Lc2beHgnH2egLaVzXEcLPg >+# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-26 17:44:43 >+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:QOoTQB2GgXJFG8T8yyeg9Q > > __PACKAGE__->add_columns( > '+anonymized' => { is_boolean => 1 }, >diff --git a/Koha/Schema/Result/BorrowerAttributeType.pm b/Koha/Schema/Result/BorrowerAttributeType.pm >index 46a86f07bc..1cfafd9eb7 100644 >--- a/Koha/Schema/Result/BorrowerAttributeType.pm >+++ b/Koha/Schema/Result/BorrowerAttributeType.pm >@@ -162,8 +162,8 @@ __PACKAGE__->has_many( > ); > > >-# Created by DBIx::Class::Schema::Loader v0.07042 @ 2016-10-25 20:32:12 >-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:gsPR8PuUUZHFUkr3MIbTpw >+# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-26 17:44:43 >+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:GoNGZkKiYKd2X+vito/HCA > > sub koha_object_class { > 'Koha::Patron::Attribute::Type'; >diff --git a/Koha/Schema/Result/BorrowerModification.pm b/Koha/Schema/Result/BorrowerModification.pm >index 3db708d3fc..d1e97f15ec 100644 >--- a/Koha/Schema/Result/BorrowerModification.pm >+++ b/Koha/Schema/Result/BorrowerModification.pm >@@ -610,8 +610,8 @@ __PACKAGE__->add_columns( > __PACKAGE__->set_primary_key("verification_token", "borrowernumber"); > > >-# Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-07-22 16:54:42 >-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:jkZUTN+mGIdp8ySV0BYNTw >+# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-26 17:44:43 >+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:fMBabHyFmDXAEQFv6Bsm4w > > sub koha_object_class { > 'Koha::Patron::Modification'; >diff --git a/Koha/Schema/Result/BorrowerRelationship.pm b/Koha/Schema/Result/BorrowerRelationship.pm >index 04a5c10cd6..e2a0c1948f 100644 >--- a/Koha/Schema/Result/BorrowerRelationship.pm >+++ b/Koha/Schema/Result/BorrowerRelationship.pm >@@ -126,8 +126,8 @@ __PACKAGE__->belongs_to( > ); > > >-# Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-08-20 15:14:37 >-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:ZymvWAn9Nzfuh1lExUIhIg >+# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-26 17:44:43 >+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:NQlpK1t1omNX/Ql39jcbbw > > sub koha_objects_class { > 'Koha::Patron::Relationships'; >diff --git a/Koha/Schema/Result/Branch.pm b/Koha/Schema/Result/Branch.pm >index 7e1850ca6f..ee46eebddd 100644 >--- a/Koha/Schema/Result/Branch.pm >+++ b/Koha/Schema/Result/Branch.pm >@@ -744,8 +744,8 @@ __PACKAGE__->has_many( > ); > > >-# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-25 09:27:24 >-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:r2wn2GewgIc5+ShIdgmd9g >+# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-26 17:44:43 >+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:KiatEkf/SDEQvzWSmUUHVw > > __PACKAGE__->add_columns( > '+pickup_location' => { is_boolean => 1 } >diff --git a/Koha/Schema/Result/Category.pm b/Koha/Schema/Result/Category.pm >index cfe788ce6f..fa53c05674 100644 >--- a/Koha/Schema/Result/Category.pm >+++ b/Koha/Schema/Result/Category.pm >@@ -266,8 +266,8 @@ __PACKAGE__->has_many( > ); > > >-# Created by DBIx::Class::Schema::Loader v0.07042 @ 2019-04-12 02:43:58 >-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:7rwTH9HuxcdRCBP/bj0d/A >+# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-26 17:44:43 >+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:emmgLFFaAZ3y83lA9PdAyw > > sub koha_object_class { > 'Koha::Patron::Category'; >diff --git a/Koha/Schema/Result/Club.pm b/Koha/Schema/Result/Club.pm >index 7710a752d0..56585ab0bc 100644 >--- a/Koha/Schema/Result/Club.pm >+++ b/Koha/Schema/Result/Club.pm >@@ -204,8 +204,8 @@ __PACKAGE__->belongs_to( > ); > > >-# Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-10-01 07:08:47 >-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:WbB7PSSU4xaszsKe9Eacqw >+# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-26 17:44:43 >+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:wdoPL1hflfu05PHzcG6cDw > > > # You can replace this text with custom content, and it will be preserved on regeneration >diff --git a/Koha/Schema/Result/Currency.pm b/Koha/Schema/Result/Currency.pm >index 720fa5ac59..16c7e3ae53 100644 >--- a/Koha/Schema/Result/Currency.pm >+++ b/Koha/Schema/Result/Currency.pm >@@ -158,8 +158,8 @@ __PACKAGE__->has_many( > ); > > >-# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-02-01 14:23:58 >-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:PnJEcCgrM1Edf99phWFdyQ >+# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-26 17:44:43 >+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:AMajOkN1HncSUU6vuR6VrA > > > sub koha_object_class { >diff --git a/Koha/Schema/Result/Deletedbiblio.pm b/Koha/Schema/Result/Deletedbiblio.pm >index 5d02066493..73f777f0e3 100644 >--- a/Koha/Schema/Result/Deletedbiblio.pm >+++ b/Koha/Schema/Result/Deletedbiblio.pm >@@ -181,8 +181,8 @@ __PACKAGE__->has_many( > ); > > >-# Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-08-05 13:53:34 >-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:FQaznWmkfR2Ge5NG8lDmSw >+# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-26 17:44:43 >+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:jzFGAgTc4Rn6VJlgdR4x9Q > > sub koha_objects_class { > 'Koha::Old::Biblios'; >diff --git a/Koha/Schema/Result/DeletedbiblioMetadata.pm b/Koha/Schema/Result/DeletedbiblioMetadata.pm >index 17406b9ca4..2b9894cd1d 100644 >--- a/Koha/Schema/Result/DeletedbiblioMetadata.pm >+++ b/Koha/Schema/Result/DeletedbiblioMetadata.pm >@@ -132,8 +132,8 @@ __PACKAGE__->belongs_to( > ); > > >-# Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-01-30 11:34:16 >-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:JCOh+FSSTgPlC8lMJOdOOA >+# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-26 17:44:43 >+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:B36q6B0UrBDaOu/XlFDH6g > > > # You can replace this text with custom code or comments, and it will be preserved on regeneration >diff --git a/Koha/Schema/Result/Desk.pm b/Koha/Schema/Result/Desk.pm >index a72be1b21f..daea50776c 100644 >--- a/Koha/Schema/Result/Desk.pm >+++ b/Koha/Schema/Result/Desk.pm >@@ -83,9 +83,24 @@ __PACKAGE__->belongs_to( > { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" }, > ); > >+=head2 reserves > >-# Created by DBIx::Class::Schema::Loader v0.07042 @ 2019-10-02 13:43:57 >-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:IklOycKlChqv9Tftm8rjqA >+Type: has_many >+ >+Related object: L<Koha::Schema::Result::Reserve> >+ >+=cut >+ >+__PACKAGE__->has_many( >+ "reserves", >+ "Koha::Schema::Result::Reserve", >+ { "foreign.desk_id" => "self.desk_id" }, >+ { cascade_copy => 0, cascade_delete => 0 }, >+); >+ >+ >+# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-26 17:44:43 >+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:jbvsjPOwykEQfDiLDovvpQ > > > # You can replace this text with custom code or comments, and it will be preserved on regeneration >diff --git a/Koha/Schema/Result/Issue.pm b/Koha/Schema/Result/Issue.pm >index 8bb16b6b92..b4b09e437d 100644 >--- a/Koha/Schema/Result/Issue.pm >+++ b/Koha/Schema/Result/Issue.pm >@@ -264,8 +264,8 @@ __PACKAGE__->might_have( > ); > > >-# Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-10-31 12:18:38 >-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:QVmFa5b0Pe5OhUI92n9kzQ >+# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-26 17:44:43 >+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:nfg4K8T5zpHr7Zgm29otKA > > __PACKAGE__->add_columns( > '+auto_renew' => { is_boolean => 1 }, >diff --git a/Koha/Schema/Result/Item.pm b/Koha/Schema/Result/Item.pm >index 58cddf4502..4bea1efcb4 100644 >--- a/Koha/Schema/Result/Item.pm >+++ b/Koha/Schema/Result/Item.pm >@@ -746,8 +746,8 @@ __PACKAGE__->has_many( > ); > > >-# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-02-17 10:42:24 >-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:CcrMhgq+PQ1MHV6jZEN8wA >+# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-26 17:44:43 >+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:zcmzJv7gFXTljKHPfx3OJQ > > __PACKAGE__->belongs_to( biblioitem => "Koha::Schema::Result::Biblioitem", "biblioitemnumber" ); > >diff --git a/Koha/Schema/Result/Itemtype.pm b/Koha/Schema/Result/Itemtype.pm >index b180a90c49..285c52a5fe 100644 >--- a/Koha/Schema/Result/Itemtype.pm >+++ b/Koha/Schema/Result/Itemtype.pm >@@ -243,8 +243,8 @@ __PACKAGE__->has_many( > ); > > >-# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-09 17:13:18 >-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:7ojvTzsDvdHPAJMwJrAZ7A >+# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-26 17:44:43 >+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:i370mlHWFs3mr5yxrUR/Xw > > __PACKAGE__->add_columns( > '+rentalcharge_hourly_calendar' => { is_boolean => 1 }, >diff --git a/Koha/Schema/Result/OldReserve.pm b/Koha/Schema/Result/OldReserve.pm >index 85e604d288..5a36b61985 100644 >--- a/Koha/Schema/Result/OldReserve.pm >+++ b/Koha/Schema/Result/OldReserve.pm >@@ -52,6 +52,11 @@ __PACKAGE__->table("old_reserves"); > is_nullable: 1 > size: 10 > >+=head2 desk_id >+ >+ data_type: 'integer' >+ is_nullable: 1 >+ > =head2 notificationdate > > data_type: 'date' >@@ -157,6 +162,8 @@ __PACKAGE__->add_columns( > { data_type => "integer", is_foreign_key => 1, is_nullable => 1 }, > "branchcode", > { data_type => "varchar", is_nullable => 1, size => 10 }, >+ "desk_id", >+ { data_type => "integer", is_nullable => 1 }, > "notificationdate", > { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 }, > "reminderdate", >@@ -298,8 +305,8 @@ __PACKAGE__->belongs_to( > ); > > >-# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-18 12:43:15 >-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:4vMUC/1kSr3vgQ7n0Pmuug >+# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-26 17:44:43 >+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:dRD8PbaSPOHM1ExXSsGi5w > > sub koha_object_class { > 'Koha::Old::Hold'; >diff --git a/Koha/Schema/Result/Overduerule.pm b/Koha/Schema/Result/Overduerule.pm >index 1d248ed394..b5ce255918 100644 >--- a/Koha/Schema/Result/Overduerule.pm >+++ b/Koha/Schema/Result/Overduerule.pm >@@ -171,8 +171,8 @@ __PACKAGE__->has_many( > ); > > >-# Created by DBIx::Class::Schema::Loader v0.07042 @ 2016-01-06 12:00:28 >-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Opfa1YZ3IeQRRbyrbKAkNQ >+# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-26 17:44:43 >+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Py8B2ZGP++ih+jZR6Xl6NQ > > > # You can replace this text with custom content, and it will be preserved on regeneration >diff --git a/Koha/Schema/Result/Reserve.pm b/Koha/Schema/Result/Reserve.pm >index c5460e34da..41eaac78a8 100644 >--- a/Koha/Schema/Result/Reserve.pm >+++ b/Koha/Schema/Result/Reserve.pm >@@ -56,6 +56,12 @@ __PACKAGE__->table("reserves"); > is_nullable: 1 > size: 10 > >+=head2 desk_id >+ >+ data_type: 'integer' >+ is_foreign_key: 1 >+ is_nullable: 1 >+ > =head2 notificationdate > > data_type: 'date' >@@ -171,6 +177,8 @@ __PACKAGE__->add_columns( > }, > "branchcode", > { data_type => "varchar", is_foreign_key => 1, is_nullable => 1, size => 10 }, >+ "desk_id", >+ { data_type => "integer", is_foreign_key => 1, is_nullable => 1 }, > "notificationdate", > { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 }, > "reminderdate", >@@ -296,6 +304,26 @@ __PACKAGE__->has_many( > { cascade_copy => 0, cascade_delete => 0 }, > ); > >+=head2 desk >+ >+Type: belongs_to >+ >+Related object: L<Koha::Schema::Result::Desk> >+ >+=cut >+ >+__PACKAGE__->belongs_to( >+ "desk", >+ "Koha::Schema::Result::Desk", >+ { desk_id => "desk_id" }, >+ { >+ is_deferrable => 1, >+ join_type => "LEFT", >+ on_delete => "CASCADE", >+ on_update => "CASCADE", >+ }, >+); >+ > =head2 itemnumber > > Type: belongs_to >@@ -337,8 +365,8 @@ __PACKAGE__->belongs_to( > ); > > >-# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-18 12:43:15 >-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:VH7h5kYo9WhlGobXb3N3Jg >+# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-26 17:44:43 >+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:X/nQMaDCvtHloV4rqGdz3Q > > __PACKAGE__->belongs_to( > "item", >diff --git a/Koha/Schema/Result/SearchField.pm b/Koha/Schema/Result/SearchField.pm >index 540d984274..732e5eda52 100644 >--- a/Koha/Schema/Result/SearchField.pm >+++ b/Koha/Schema/Result/SearchField.pm >@@ -149,8 +149,8 @@ __PACKAGE__->has_many( > ); > > >-# Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-10-02 12:47:22 >-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:EbUa4eprgxeUkoOUiXO/Cg >+# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-26 17:42:51 >+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:gHryT3ta34D2l5Md2G7VUw > > __PACKAGE__->many_to_many("search_marc_maps", "search_marc_to_fields", "search_marc_map"); > >diff --git a/Koha/Schema/Result/SearchMarcToField.pm b/Koha/Schema/Result/SearchMarcToField.pm >index 01080160b9..984c0260ab 100644 >--- a/Koha/Schema/Result/SearchMarcToField.pm >+++ b/Koha/Schema/Result/SearchMarcToField.pm >@@ -128,8 +128,8 @@ __PACKAGE__->belongs_to( > ); > > >-# Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-10-02 12:47:22 >-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:9mqZ/zrii+Fv+k+eQNHYUw >+# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-26 17:42:51 >+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:hzF/79JyvAlyw3iMq5j0KA > > > # You can replace this text with custom code or comments, and it will be preserved on regeneration >diff --git a/Koha/Schema/Result/Serial.pm b/Koha/Schema/Result/Serial.pm >index 58aed2c012..cdd39017a6 100644 >--- a/Koha/Schema/Result/Serial.pm >+++ b/Koha/Schema/Result/Serial.pm >@@ -179,8 +179,8 @@ __PACKAGE__->has_many( > ); > > >-# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-02-16 17:54:54 >-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:sRygXoIOnqpdk0lqVMcBdA >+# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-26 17:44:43 >+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:wqe/1PV/rfs19gHW2/04sw > > > # You can replace this text with custom code or comments, and it will be preserved on regeneration >-- >2.20.1
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 24412
:
97328
|
97329
|
97330
|
101625
|
101626
|
101627
|
101628
|
101629
|
101630
|
101721
|
101722
|
101723
|
101825
|
101884
|
101885
|
101886
|
101898
|
101899
|
101900
|
101955
|
101956
|
101957
|
106586
|
106648
|
110067
|
110068
|
110069
|
110070
|
110450
|
110451
|
110452
|
110453
|
110454
|
110455
|
110582
|
110583
|
110584
|
110585
|
110586
|
112046
|
112047
|
112048
|
112049
|
112050
|
112092
|
112099
|
112165
|
112166
|
112167
|
112168
|
112169
|
112170
|
112171
|
112172
|
112201
|
112202
|
112203
|
112204
|
112205
|
112206
|
112207
|
112208
|
112209
|
112210
|
112211
|
112212
|
112213
|
112214
|
112215
|
112216
|
112217
|
112218
|
112219
|
112264
|
112265
|
112266
|
112267
|
112268
|
112269
|
112270
|
112271
|
112272
|
112292
|
112293
|
113108
|
113109
|
113116
|
113228
|
113229
|
113230
|
113231
|
113232
|
113233
|
113234
|
113235
|
113236