Bugzilla – Attachment 75989 Details for
Bug 20271
Merge deleted biblio, biblioitems, biblio_metadata, and items tables
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 20271: (QA follow-up) DBIx schema changes
Bug-20271-QA-follow-up-DBIx-schema-changes.patch (text/plain), 4.89 KB, created by
Martin Renvoize (ashimema)
on 2018-06-12 14:18:27 UTC
(
hide
)
Description:
Bug 20271: (QA follow-up) DBIx schema changes
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2018-06-12 14:18:27 UTC
Size:
4.89 KB
patch
obsolete
>From 998c1ed60bd055b09732d37c27672620e73a3d65 Mon Sep 17 00:00:00 2001 >From: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Date: Fri, 8 Jun 2018 09:37:20 +0200 >Subject: [PATCH] Bug 20271: (QA follow-up) DBIx schema changes > >Please separate these changes from the other patches. >Note that Biblioitem was not in the last set of changes too. > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> >--- > Koha/Schema/Result/Biblio.pm | 8 ++++---- > Koha/Schema/Result/BiblioMetadata.pm | 8 ++++---- > Koha/Schema/Result/Biblioitem.pm | 8 ++++---- > Koha/Schema/Result/Item.pm | 8 ++++---- > 4 files changed, 16 insertions(+), 16 deletions(-) > >diff --git a/Koha/Schema/Result/Biblio.pm b/Koha/Schema/Result/Biblio.pm >index 550402dc5c..a3ca68b472 100644 >--- a/Koha/Schema/Result/Biblio.pm >+++ b/Koha/Schema/Result/Biblio.pm >@@ -89,7 +89,7 @@ __PACKAGE__->table("biblio"); > data_type: 'longtext' > is_nullable: 1 > >-=head2 deleted_at >+=head2 deleted_on > > data_type: 'datetime' > datetime_undef_if_invalid: 1 >@@ -127,7 +127,7 @@ __PACKAGE__->add_columns( > { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 0 }, > "abstract", > { data_type => "longtext", is_nullable => 1 }, >- "deleted_at", >+ "deleted_on", > { > data_type => "datetime", > datetime_undef_if_invalid => 1, >@@ -360,7 +360,7 @@ __PACKAGE__->has_many( > ); > > >-# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-05-11 12:03:24 >-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:L2njvoe0LRdIdDsAEaye9w >+# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-06-08 09:34:53 >+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Gvv2jiMzhIa2osCaj3Ow6g > > 1; >diff --git a/Koha/Schema/Result/BiblioMetadata.pm b/Koha/Schema/Result/BiblioMetadata.pm >index 4fd4621348..8264f9e47a 100644 >--- a/Koha/Schema/Result/BiblioMetadata.pm >+++ b/Koha/Schema/Result/BiblioMetadata.pm >@@ -59,7 +59,7 @@ __PACKAGE__->table("biblio_metadata"); > default_value: current_timestamp > is_nullable: 0 > >-=head2 deleted_at >+=head2 deleted_on > > data_type: 'datetime' > datetime_undef_if_invalid: 1 >@@ -85,7 +85,7 @@ __PACKAGE__->add_columns( > default_value => \"current_timestamp", > is_nullable => 0, > }, >- "deleted_at", >+ "deleted_on", > { > data_type => "datetime", > datetime_undef_if_invalid => 1, >@@ -144,8 +144,8 @@ __PACKAGE__->belongs_to( > ); > > >-# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-05-11 12:03:24 >-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:xEPDWp2+ol9WHDULIaCtOg >+# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-06-08 09:34:53 >+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:maczivwd2YXoRrx0Sc4DIQ > > > # You can replace this text with custom code or comments, and it will be preserved on regeneration >diff --git a/Koha/Schema/Result/Biblioitem.pm b/Koha/Schema/Result/Biblioitem.pm >index 7a843fd61c..d8e2959bba 100644 >--- a/Koha/Schema/Result/Biblioitem.pm >+++ b/Koha/Schema/Result/Biblioitem.pm >@@ -202,7 +202,7 @@ __PACKAGE__->table("biblioitems"); > data_type: 'integer' > is_nullable: 1 > >-=head2 deleted_at >+=head2 deleted_on > > data_type: 'datetime' > datetime_undef_if_invalid: 1 >@@ -285,7 +285,7 @@ __PACKAGE__->add_columns( > { data_type => "varchar", is_nullable => 1, size => 255 }, > "totalissues", > { data_type => "integer", is_nullable => 1 }, >- "deleted_at", >+ "deleted_on", > { > data_type => "datetime", > datetime_undef_if_invalid => 1, >@@ -338,8 +338,8 @@ __PACKAGE__->has_many( > ); > > >-# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-05-11 12:03:24 >-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:uvdBu01oA3TCk0mm2jlhPA >+# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-06-08 09:34:53 >+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:SFGaiPvH2Va7AySY+qErWQ > > __PACKAGE__->belongs_to( biblio => "Koha::Schema::Result::Biblio", "biblionumber" ); > >diff --git a/Koha/Schema/Result/Item.pm b/Koha/Schema/Result/Item.pm >index 895d45a79d..ddb6043430 100644 >--- a/Koha/Schema/Result/Item.pm >+++ b/Koha/Schema/Result/Item.pm >@@ -286,7 +286,7 @@ __PACKAGE__->table("items"); > is_nullable: 1 > size: 32 > >-=head2 deleted_at >+=head2 deleted_on > > data_type: 'datetime' > datetime_undef_if_invalid: 1 >@@ -412,7 +412,7 @@ __PACKAGE__->add_columns( > { data_type => "varchar", is_nullable => 1, size => 32 }, > "new_status", > { data_type => "varchar", is_nullable => 1, size => 32 }, >- "deleted_at", >+ "deleted_on", > { > data_type => "datetime", > datetime_undef_if_invalid => 1, >@@ -699,8 +699,8 @@ __PACKAGE__->might_have( > ); > > >-# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-05-11 12:03:24 >-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:sTN/r9L4MvFONFQnopRNrg >+# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-06-08 09:34:53 >+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:mNzP0a/eqWMygxD2VfAAkA > > __PACKAGE__->belongs_to( biblioitem => "Koha::Schema::Result::Biblioitem", "biblioitemnumber" ); > >-- >2.14.2
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 20271
:
72300
|
72799
|
72800
|
73091
|
73092
|
73093
|
73535
|
73536
|
73537
|
73538
|
73539
|
73540
|
73597
|
73759
|
73760
|
73761
|
73762
|
73763
|
73764
|
73765
|
74127
|
74128
|
74129
|
74130
|
74131
|
74132
|
74133
|
74134
|
74135
|
74136
|
74137
|
74138
|
74139
|
74140
|
74141
|
74142
|
74182
|
74183
|
74184
|
74185
|
74186
|
74187
|
74188
|
74189
|
74190
|
74223
|
74407
|
74408
|
74409
|
74410
|
74411
|
74412
|
74413
|
74414
|
74415
|
74416
|
75265
|
75347
|
75894
|
75897
|
75898
|
75899
|
75910
|
75977
|
75978
|
75979
|
75980
|
75981
|
75982
|
75983
|
75984
|
75985
|
75986
|
75987
|
75988
|
75989
|
75990
|
75991
|
75992
|
75993
|
76047
|
76048
|
76255
|
76256
|
76257
|
76258
|
76259
|
76260
|
76261
|
76262
|
76263
|
76264
|
76265
|
76266
|
76267
|
76268
|
76269
|
76270
|
76271
|
76272
|
76273
|
76274
|
76275
|
76276
|
76277
|
76493
|
76494
|
76495
|
76496
|
76497
|
76498
|
76499
|
76500
|
76501
|
76502
|
76503
|
76504
|
76505
|
76506
|
76507
|
76508
|
76509
|
76510
|
76511
|
76512
|
76513
|
76514