Bugzilla – Attachment 133768 Details for
Bug 30565
Field stockrotationrotas.description should be NOT NULL, title UNIQUE
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 30565: DBIx schema change for stockrotationrotas
Bug-30565-DBIx-schema-change-for-stockrotationrota.patch (text/plain), 1.42 KB, created by
Tomás Cohen Arazi (tcohen)
on 2022-04-25 12:31:09 UTC
(
hide
)
Description:
Bug 30565: DBIx schema change for stockrotationrotas
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2022-04-25 12:31:09 UTC
Size:
1.42 KB
patch
obsolete
>From 8bf22fec97319c6aaa8d154d29ea3fccd20310b3 Mon Sep 17 00:00:00 2001 >From: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Date: Wed, 20 Apr 2022 11:37:31 +0000 >Subject: [PATCH] Bug 30565: DBIx schema change for stockrotationrotas > >No test plan. > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> >--- > Koha/Schema/Result/Stockrotationrota.pm | 18 ++++++++++++++++-- > 1 file changed, 16 insertions(+), 2 deletions(-) > >diff --git a/Koha/Schema/Result/Stockrotationrota.pm b/Koha/Schema/Result/Stockrotationrota.pm >index 7be85e74af3..4f266b0f521 100644 >--- a/Koha/Schema/Result/Stockrotationrota.pm >+++ b/Koha/Schema/Result/Stockrotationrota.pm >@@ -89,6 +89,20 @@ __PACKAGE__->add_columns( > > __PACKAGE__->set_primary_key("rota_id"); > >+=head1 UNIQUE CONSTRAINTS >+ >+=head2 C<stockrotationrotas_title> >+ >+=over 4 >+ >+=item * L</title> >+ >+=back >+ >+=cut >+ >+__PACKAGE__->add_unique_constraint("stockrotationrotas_title", ["title"]); >+ > =head1 RELATIONS > > =head2 stockrotationstages >@@ -107,8 +121,8 @@ __PACKAGE__->has_many( > ); > > >-# Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-01-21 13:39:29 >-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:BpWsKESjapNKXaj2bZ1sjg >+# Created by DBIx::Class::Schema::Loader v0.07049 @ 2022-04-20 11:37:15 >+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:9jp+fNV7DMuz5i+eMrt/Cw > > __PACKAGE__->add_columns( > '+cyclical' => { is_boolean => 1 }, >-- >2.34.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 30565
:
133457
|
133458
|
133459
|
133766
|
133767
| 133768