Bugzilla – Attachment 133459 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.40 KB, created by
Marcel de Rooy
on 2022-04-20 11:40:37 UTC
(
hide
)
Description:
Bug 30565: DBIx schema change for stockrotationrotas
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2022-04-20 11:40:37 UTC
Size:
1.40 KB
patch
obsolete
>From ea9cf3afc50313304351bcf7d9a937f04f3e2f54 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 >Content-Type: text/plain; charset=utf-8 > >No test plan. > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > 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 7be85e74af..4f266b0f52 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.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 30565
:
133457
|
133458
|
133459
|
133766
|
133767
|
133768