From ea9cf3afc50313304351bcf7d9a937f04f3e2f54 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 Content-Type: text/plain; charset=utf-8 No test plan. Signed-off-by: Marcel de Rooy --- 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.20.1