From 9b60c3e67eac8827c8649440e0c73bb9fed06421 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Thu, 8 Dec 2016 10:16:40 +0000 Subject: [PATCH] Bug 17762: DBIC Schema changes Sponsored-by: Orex Digital Signed-off-by: Hugo Agud --- Koha/Schema/Result/Borrower.pm | 18 ++++++++++++++++-- Koha/Schema/Result/Deletedborrower.pm | 18 ++++++++++++++++-- Koha/Schema/Result/Letter.pm | 18 ++++++++++++++++-- 3 files changed, 48 insertions(+), 6 deletions(-) diff --git a/Koha/Schema/Result/Borrower.pm b/Koha/Schema/Result/Borrower.pm index 1fe3988..810445a 100644 --- a/Koha/Schema/Result/Borrower.pm +++ b/Koha/Schema/Result/Borrower.pm @@ -427,6 +427,13 @@ __PACKAGE__->table("borrowers"); datetime_undef_if_invalid: 1 is_nullable: 1 +=head2 lang + + data_type: 'varchar' + default_value: 'default' + is_nullable: 0 + size: 25 + =cut __PACKAGE__->add_columns( @@ -616,6 +623,13 @@ __PACKAGE__->add_columns( datetime_undef_if_invalid => 1, is_nullable => 1, }, + "lang", + { + data_type => "varchar", + default_value => "default", + is_nullable => 0, + size => 25, + }, ); =head1 PRIMARY KEY @@ -1334,8 +1348,8 @@ Composing rels: L -> ordernumber __PACKAGE__->many_to_many("ordernumbers", "aqorder_users", "ordernumber"); -# Created by DBIx::Class::Schema::Loader v0.07042 @ 2016-10-31 10:39:35 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Lc6GQ2E7d+tyzTk3v2sWjQ +# Created by DBIx::Class::Schema::Loader v0.07042 @ 2016-12-08 10:15:45 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:xTvgxB8ENCv2o5skyvMxPQ __PACKAGE__->belongs_to( "guarantor", diff --git a/Koha/Schema/Result/Deletedborrower.pm b/Koha/Schema/Result/Deletedborrower.pm index 937a4a4..ecb23a4 100644 --- a/Koha/Schema/Result/Deletedborrower.pm +++ b/Koha/Schema/Result/Deletedborrower.pm @@ -424,6 +424,13 @@ __PACKAGE__->table("deletedborrowers"); datetime_undef_if_invalid: 1 is_nullable: 1 +=head2 lang + + data_type: 'varchar' + default_value: 'default' + is_nullable: 0 + size: 25 + =cut __PACKAGE__->add_columns( @@ -601,11 +608,18 @@ __PACKAGE__->add_columns( datetime_undef_if_invalid => 1, is_nullable => 1, }, + "lang", + { + data_type => "varchar", + default_value => "default", + is_nullable => 0, + size => 25, + }, ); -# Created by DBIx::Class::Schema::Loader v0.07042 @ 2016-09-13 17:32:29 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:pcdyzQacTbFDJ9R1k0E8mA +# Created by DBIx::Class::Schema::Loader v0.07042 @ 2016-12-08 10:15:45 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:u/F6q05mnfMb49WAyKI1YQ # You can replace this text with custom code or comments, and it will be preserved on regeneration diff --git a/Koha/Schema/Result/Letter.pm b/Koha/Schema/Result/Letter.pm index 04261e2..ab384b5 100644 --- a/Koha/Schema/Result/Letter.pm +++ b/Koha/Schema/Result/Letter.pm @@ -77,6 +77,13 @@ __PACKAGE__->table("letter"); is_nullable: 0 size: 20 +=head2 lang + + data_type: 'varchar' + default_value: 'default' + is_nullable: 0 + size: 25 + =cut __PACKAGE__->add_columns( @@ -102,6 +109,13 @@ __PACKAGE__->add_columns( is_nullable => 0, size => 20, }, + "lang", + { + data_type => "varchar", + default_value => "default", + is_nullable => 0, + size => 25, + }, ); =head1 PRIMARY KEY @@ -159,8 +173,8 @@ __PACKAGE__->has_many( ); -# Created by DBIx::Class::Schema::Loader v0.07025 @ 2014-05-02 18:04:32 -# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:HFUQ+/BKlweHglzOlm0lUQ +# Created by DBIx::Class::Schema::Loader v0.07042 @ 2016-12-08 10:15:45 +# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:fqBKGXoxc9MXSghYj6+cLg # You can replace this text with custom content, and it will be preserved on regeneration -- 2.9.3