Bugzilla – Attachment 98235 Details for
Bug 20352
Add ability of currency/price to have a symbol after amount
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 20352: Schema changes
Bug-20352-Schema-changes.patch (text/plain), 1.91 KB, created by
Martin Renvoize
on 2020-01-31 14:09:10 UTC
(
hide
)
Description:
Bug 20352: Schema changes
Filename:
MIME Type:
Creator:
Martin Renvoize
Created:
2020-01-31 14:09:10 UTC
Size:
1.91 KB
patch
obsolete
>From 231602a36785f2ffb97e0a03e8418ce90cb4443f Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Wed, 18 Dec 2019 11:45:42 +0100 >Subject: [PATCH] Bug 20352: Schema changes > >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> >--- > Koha/Schema/Result/Currency.pm | 16 ++++++++++++---- > 1 file changed, 12 insertions(+), 4 deletions(-) > >diff --git a/Koha/Schema/Result/Currency.pm b/Koha/Schema/Result/Currency.pm >index 720fa5ac59..32ad36624f 100644 >--- a/Koha/Schema/Result/Currency.pm >+++ b/Koha/Schema/Result/Currency.pm >@@ -46,7 +46,7 @@ __PACKAGE__->table("currency"); > > data_type: 'timestamp' > datetime_undef_if_invalid: 1 >- default_value: current_timestamp >+ default_value: 'current_timestamp()' > is_nullable: 0 > > =head2 rate >@@ -72,6 +72,12 @@ __PACKAGE__->table("currency"); > default_value: 0 > is_nullable: 1 > >+=head2 p_cs_precedes >+ >+ data_type: 'tinyint' >+ default_value: 1 >+ is_nullable: 1 >+ > =cut > > __PACKAGE__->add_columns( >@@ -85,7 +91,7 @@ __PACKAGE__->add_columns( > { > data_type => "timestamp", > datetime_undef_if_invalid => 1, >- default_value => \"current_timestamp", >+ default_value => "current_timestamp()", > is_nullable => 0, > }, > "rate", >@@ -96,6 +102,8 @@ __PACKAGE__->add_columns( > { data_type => "tinyint", default_value => 0, is_nullable => 1 }, > "p_sep_by_space", > { data_type => "tinyint", default_value => 0, is_nullable => 1 }, >+ "p_cs_precedes", >+ { data_type => "tinyint", default_value => 1, is_nullable => 1 }, > ); > > =head1 PRIMARY KEY >@@ -158,8 +166,8 @@ __PACKAGE__->has_many( > ); > > >-# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-02-01 14:23:58 >-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:PnJEcCgrM1Edf99phWFdyQ >+# Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-12-18 10:44:42 >+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:2eo7pibKTiDmG1Hb9EvBwA > > > sub koha_object_class { >-- >2.20.1
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 20352
:
96410
|
96411
|
96412
|
98234
|
98235
|
98236
|
103924
|
103925
|
103926
|
103927