From 3a8d910b4ef1436f5b1bd73db348940967723d0d Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 10 Oct 2017 17:32:49 -0300 Subject: [PATCH] Bug 15685: DBIC Schema changes Signed-off-by: Jonathan Druart --- Koha/Schema/Result/Aqbasket.pm | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/Koha/Schema/Result/Aqbasket.pm b/Koha/Schema/Result/Aqbasket.pm index f4dd75d68e..d820708b36 100644 --- a/Koha/Schema/Result/Aqbasket.pm +++ b/Koha/Schema/Result/Aqbasket.pm @@ -112,6 +112,12 @@ __PACKAGE__->table("aqbasket"); default_value: 0 is_nullable: 0 +=head2 create_items + + data_type: 'enum' + extra: {list => ["ordering","receiving","cataloguing"]} + is_nullable: 1 + =cut __PACKAGE__->add_columns( @@ -150,6 +156,12 @@ __PACKAGE__->add_columns( { data_type => "varchar", is_foreign_key => 1, is_nullable => 1, size => 10 }, "is_standing", { data_type => "tinyint", default_value => 0, is_nullable => 0 }, + "create_items", + { + data_type => "enum", + extra => { list => ["ordering", "receiving", "cataloguing"] }, + is_nullable => 1, + }, ); =head1 PRIMARY KEY @@ -297,8 +309,8 @@ Composing rels: L -> borrowernumber __PACKAGE__->many_to_many("borrowernumbers", "aqbasketusers", "borrowernumber"); -# Created by DBIx::Class::Schema::Loader v0.07042 @ 2016-04-29 13:13:55 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:6gRJtrZ6ZXLHjqX281d9Hg +# Created by DBIx::Class::Schema::Loader v0.07042 @ 2017-10-10 14:27:08 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:4lGbfEcXLR67RbYp4aNzTg # You can replace this text with custom code or comments, and it will be preserved on regeneration -- 2.39.5