From 748036ef679b867a929beec77d9d3144c075677a Mon Sep 17 00:00:00 2001 From: Marcel de Rooy 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 Signed-off-by: Tomas Cohen Arazi Signed-off-by: Fridolin Somers --- 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 + +=over 4 + +=item * L + +=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.39.5