Bug 30572: DBRev 21.12.00.042
authorFridolin Somers <fridolin.somers@biblibre.com>
Mon, 2 May 2022 19:37:42 +0000 (09:37 -1000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Mon, 2 May 2022 21:22:57 +0000 (11:22 -1000)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
Koha.pm
installer/data/mysql/atomicupdate/bug_30572.pl [deleted file]
installer/data/mysql/db_revs/211200042.pl [new file with mode: 0755]

diff --git a/Koha.pm b/Koha.pm
index d87fd7d..87f6f3d 100644 (file)
--- a/Koha.pm
+++ b/Koha.pm
@@ -29,7 +29,7 @@ use vars qw{ $VERSION };
 # - #4 : the developer version. The 4th number is the database subversion.
 #        used by developers when the database changes. updatedatabase take care of the changes itself
 #        and is automatically called by Auth.pm when needed.
-$VERSION = "21.12.00.041";
+$VERSION = "21.12.00.042";
 
 sub version {
     return $VERSION;
diff --git a/installer/data/mysql/atomicupdate/bug_30572.pl b/installer/data/mysql/atomicupdate/bug_30572.pl
deleted file mode 100755 (executable)
index 6c47443..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-use Modern::Perl;
-
-return {
-    bug_number => 30572,
-    description => "Adjust search_marc_to_field.sort",
-    up => sub {
-        my ($args) = @_;
-        my ($dbh, $out) = @$args{qw(dbh out)};
-        # Do you stuffs here
-        $dbh->do(q|
-ALTER TABLE search_marc_to_field MODIFY COLUMN sort tinyint(1) DEFAULT 1 NOT NULL COMMENT 'Sort defaults to 1 (Yes) and creates sort fields in the index, 0 (no) will prevent this';
-        |);
-    },
-};
diff --git a/installer/data/mysql/db_revs/211200042.pl b/installer/data/mysql/db_revs/211200042.pl
new file mode 100755 (executable)
index 0000000..6c47443
--- /dev/null
@@ -0,0 +1,14 @@
+use Modern::Perl;
+
+return {
+    bug_number => 30572,
+    description => "Adjust search_marc_to_field.sort",
+    up => sub {
+        my ($args) = @_;
+        my ($dbh, $out) = @$args{qw(dbh out)};
+        # Do you stuffs here
+        $dbh->do(q|
+ALTER TABLE search_marc_to_field MODIFY COLUMN sort tinyint(1) DEFAULT 1 NOT NULL COMMENT 'Sort defaults to 1 (Yes) and creates sort fields in the index, 0 (no) will prevent this';
+        |);
+    },
+};