Bugzilla – Attachment 123850 Details for
Bug 25078
Update DB process - wrap each DBRev inside a transaction and better error handling
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 25078: Move skeleton file
Bug-25078-Move-skeleton-file.patch (text/plain), 1.43 KB, created by
Jonathan Druart
on 2021-08-16 09:45:33 UTC
(
hide
)
Description:
Bug 25078: Move skeleton file
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2021-08-16 09:45:33 UTC
Size:
1.43 KB
patch
obsolete
>From e42d3b7451057af7e55710ffe39c1ab07991f594 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Mon, 16 Aug 2021 11:35:28 +0200 >Subject: [PATCH] Bug 25078: Move skeleton file > >--- > installer/data/mysql/atomicupdate/skeleton.perl | 13 ------------- > .../mysql/{db_revs => atomicupdate}/skeleton.pl | 0 > 2 files changed, 13 deletions(-) > delete mode 100644 installer/data/mysql/atomicupdate/skeleton.perl > rename installer/data/mysql/{db_revs => atomicupdate}/skeleton.pl (100%) > >diff --git a/installer/data/mysql/atomicupdate/skeleton.perl b/installer/data/mysql/atomicupdate/skeleton.perl >deleted file mode 100644 >index 813d7cbc5a8..00000000000 >--- a/installer/data/mysql/atomicupdate/skeleton.perl >+++ /dev/null >@@ -1,13 +0,0 @@ >-$DBversion = 'XXX'; # will be replaced by the RM >-if( CheckVersion( $DBversion ) ) { >- # you can use $dbh here like: >- # $dbh->do( "ALTER TABLE biblio ADD COLUMN badtaste int" ); >- >- # or perform some test and warn >- # if( !column_exists( 'biblio', 'biblionumber' ) ) { >- # warn "There is something wrong"; >- # } >- >- # Always end with this (adjust the bug info) >- NewVersion( $DBversion, XXXXX, "Description"); >-} >diff --git a/installer/data/mysql/db_revs/skeleton.pl b/installer/data/mysql/atomicupdate/skeleton.pl >similarity index 100% >rename from installer/data/mysql/db_revs/skeleton.pl >rename to installer/data/mysql/atomicupdate/skeleton.pl >-- >2.25.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 25078
:
102521
|
116032
|
116033
|
116034
|
116208
|
116209
|
117084
|
121909
|
121910
|
121911
|
121982
|
121983
|
121984
|
122208
|
122322
|
122323
|
122324
|
122325
|
122326
|
122329
|
122665
|
122666
|
122667
|
122668
|
122669
|
122670
|
122671
|
122679
|
122680
|
122875
|
123356
|
123357
|
123358
|
123359
|
123360
|
123361
|
123362
|
123363
|
123364
|
123365
|
123366
|
123367
| 123850 |
123851
|
123853
|
123937
|
124269