Bugzilla – Attachment 177245 Details for
Bug 37211
All notes in the patron Transactions table should be editable
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 37211: (QA follow-up) Update database update to be idempotent
Bug-37211-QA-follow-up-Update-database-update-to-b.patch (text/plain), 1.11 KB, created by
Martin Renvoize (ashimema)
on 2025-01-28 10:02:02 UTC
(
hide
)
Description:
Bug 37211: (QA follow-up) Update database update to be idempotent
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2025-01-28 10:02:02 UTC
Size:
1.11 KB
patch
obsolete
>From 91d4868bf453e44483289dc3f192b723677c553e Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Date: Tue, 28 Jan 2025 10:01:17 +0000 >Subject: [PATCH] Bug 37211: (QA follow-up) Update database update to be > idempotent > >--- > installer/data/mysql/atomicupdate/bug_37211.pl | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/installer/data/mysql/atomicupdate/bug_37211.pl b/installer/data/mysql/atomicupdate/bug_37211.pl >index cc66438cae8..7d89d2c26d0 100755 >--- a/installer/data/mysql/atomicupdate/bug_37211.pl >+++ b/installer/data/mysql/atomicupdate/bug_37211.pl >@@ -11,13 +11,13 @@ return { > # Do you stuffs here > $dbh->do( > q{ >- INSERT INTO permissions (module_bit, code, description) >+ INSERT IGNORE INTO permissions (module_bit, code, description) > VALUES (10, 'edit_notes', 'Edit accountline notes') > } > ); > > # permissions >- say $out "Added new permission 'updatecharges:edit_notes'"; >+ say_success( $out, "Added new permission 'updatecharges:edit_notes'"); > > }, > }; >-- >2.48.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 37211
:
168211
|
168212
|
170002
|
170003
|
170218
|
170219
|
177244
|
177245
|
177248
|
177249
|
177250
|
177251
|
177252
|
177261