Bugzilla – Attachment 59453 Details for
Bug 17762
Ability to translate notices
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 17762: DBIC Schema changes
Bug-17762-DBIC-Schema-changes.patch (text/plain), 3.78 KB, created by
Jonathan Druart
on 2017-01-23 18:31:51 UTC
(
hide
)
Description:
Bug 17762: DBIC Schema changes
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2017-01-23 18:31:51 UTC
Size:
3.78 KB
patch
obsolete
>From 9b60c3e67eac8827c8649440e0c73bb9fed06421 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >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 <hagud@orex.es> >--- > 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</aqorder_users> -> 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
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 17762
:
58133
|
58134
|
58135
|
58136
|
58137
|
58138
|
58139
|
58140
|
58141
|
58525
|
59452
|
59453
|
59454
|
59455
|
59456
|
59457
|
59458
|
59459
|
59460
|
59461
|
61614
|
61615
|
61616
|
61617
|
61618
|
61619
|
61620
|
61621
|
61622
|
61623
|
61624
|
63199
|
63200
|
63201
|
63202
|
63203
|
63204
|
63205
|
63206
|
63207
|
63208
|
63209
|
63210
|
63211