Bugzilla – Attachment 116713 Details for
Bug 14233
Add logging support to notices and slips management
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 14233: [DO NOT PUSH] DBIC Schema File Update
Bug-14233-DO-NOT-PUSH-DBIC-Schema-File-Update.patch (text/plain), 1.93 KB, created by
Martin Renvoize (ashimema)
on 2021-02-11 12:51:38 UTC
(
hide
)
Description:
Bug 14233: [DO NOT PUSH] DBIC Schema File Update
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2021-02-11 12:51:38 UTC
Size:
1.93 KB
patch
obsolete
>From 5574854615f45747bf07d04ba17b9d686199fe8b Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Date: Thu, 11 Feb 2021 12:51:08 +0000 >Subject: [PATCH] Bug 14233: [DO NOT PUSH] DBIC Schema File Update > >--- > Koha/Schema/Result/Letter.pm | 33 ++++++++++++++++++++++++++++++--- > 1 file changed, 30 insertions(+), 3 deletions(-) > >diff --git a/Koha/Schema/Result/Letter.pm b/Koha/Schema/Result/Letter.pm >index 62a0d65eaa..613c4d9b27 100644 >--- a/Koha/Schema/Result/Letter.pm >+++ b/Koha/Schema/Result/Letter.pm >@@ -23,6 +23,14 @@ __PACKAGE__->table("letter"); > > =head1 ACCESSORS > >+=head2 id >+ >+ data_type: 'integer' >+ is_auto_increment: 1 >+ is_nullable: 0 >+ >+primary key identifier >+ > =head2 module > > data_type: 'varchar' >@@ -114,6 +122,8 @@ last modification > =cut > > __PACKAGE__->add_columns( >+ "id", >+ { data_type => "integer", is_auto_increment => 1, is_nullable => 0 }, > "module", > { data_type => "varchar", default_value => "", is_nullable => 0, size => 20 }, > "code", >@@ -156,6 +166,20 @@ __PACKAGE__->add_columns( > > =over 4 > >+=item * L</id> >+ >+=back >+ >+=cut >+ >+__PACKAGE__->set_primary_key("id"); >+ >+=head1 UNIQUE CONSTRAINTS >+ >+=head2 C<letter_uniq_1> >+ >+=over 4 >+ > =item * L</module> > > =item * L</code> >@@ -170,7 +194,10 @@ __PACKAGE__->add_columns( > > =cut > >-__PACKAGE__->set_primary_key("module", "code", "branchcode", "message_transport_type", "lang"); >+__PACKAGE__->add_unique_constraint( >+ "letter_uniq_1", >+ ["module", "code", "branchcode", "message_transport_type", "lang"], >+); > > =head1 RELATIONS > >@@ -190,8 +217,8 @@ __PACKAGE__->belongs_to( > ); > > >-# Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-01-21 13:39:29 >-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:KsiHfYDT9WzuiTET1Y/BhA >+# Created by DBIx::Class::Schema::Loader v0.07046 @ 2021-02-11 12:33:50 >+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:qqdTVEicMu5rHppY5qsEuA > > sub koha_object_class { > 'Koha::Notice::Template'; >-- >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 14233
:
116649
|
116650
|
116651
|
116660
|
116661
|
116662
|
116668
|
116671
|
116672
|
116673
|
116674
|
116713
|
116760
|
116761
|
117251
|
117252
|
117253
|
117254
|
117255
|
117256
|
117257
|
117258
|
117259
|
117294
|
117295
|
117296
|
117297
|
117298
|
117299
|
117300
|
117301
|
117302
|
117303
|
117304
|
117311
|
117312
|
117313
|
117314
|
117315
|
117316
|
117317
|
117318
|
117319
|
117320
|
117321
|
117345
|
118132
|
118133
|
118134
|
118135
|
118136
|
118137
|
118138
|
118139
|
118140
|
118141
|
118142
|
118143
|
118155
|
118156
|
118157
|
118158
|
118159
|
118160
|
118161
|
118162
|
118163
|
118164
|
118165
|
118166
|
118167
|
118323
|
119291
|
119292
|
119293
|
119294
|
119312
|
119313
|
119314
|
119315
|
119359
|
119360
|
119361
|
119362
|
119510