Bug 22428: DBRev 22.12.00.006
authorTomas Cohen Arazi <tomascohen@theke.io>
Fri, 24 Feb 2023 20:17:37 +0000 (17:17 -0300)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 24 Feb 2023 20:52:22 +0000 (17:52 -0300)
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Koha.pm
installer/data/mysql/atomicupdate/bug_22428-change_field_value_column.pl [deleted file]
installer/data/mysql/db_revs/221200006.pl [new file with mode: 0755]

diff --git a/Koha.pm b/Koha.pm
index 40fd3ad..9a4f253 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 = "22.12.00.005";
+$VERSION = "22.12.00.006";
 
 sub version {
     return $VERSION;
diff --git a/installer/data/mysql/atomicupdate/bug_22428-change_field_value_column.pl b/installer/data/mysql/atomicupdate/bug_22428-change_field_value_column.pl
deleted file mode 100755 (executable)
index 9088cfb..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-use Modern::Perl;
-
-return {
-    bug_number => "22428",
-    description => "Changes the datatype of the field value column to text to stop input being cut short",
-    up => sub {
-        my ($args) = @_;
-        my ($dbh, $out) = @$args{qw(dbh out)};
-
-        $dbh->do(q{
-            ALTER TABLE marc_modification_template_actions MODIFY COLUMN field_value text;
-        });
-
-        say $out "Amended dataype of column field_value in table marc_modification_template_actions.";
-    },
-};
diff --git a/installer/data/mysql/db_revs/221200006.pl b/installer/data/mysql/db_revs/221200006.pl
new file mode 100755 (executable)
index 0000000..9088cfb
--- /dev/null
@@ -0,0 +1,16 @@
+use Modern::Perl;
+
+return {
+    bug_number => "22428",
+    description => "Changes the datatype of the field value column to text to stop input being cut short",
+    up => sub {
+        my ($args) = @_;
+        my ($dbh, $out) = @$args{qw(dbh out)};
+
+        $dbh->do(q{
+            ALTER TABLE marc_modification_template_actions MODIFY COLUMN field_value text;
+        });
+
+        say $out "Amended dataype of column field_value in table marc_modification_template_actions.";
+    },
+};