Bug 33004: DBRev 22.12.00.008
authorTomas Cohen Arazi <tomascohen@theke.io>
Mon, 27 Feb 2023 15:00:37 +0000 (12:00 -0300)
committerTomas Cohen Arazi <tomascohen@theke.io>
Mon, 27 Feb 2023 16:08:08 +0000 (13:08 -0300)
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Koha.pm
installer/data/mysql/atomicupdate/bug_33004_VENDOR_TYPE_AV.pl [deleted file]
installer/data/mysql/db_revs/221200008.pl [new file with mode: 0755]

diff --git a/Koha.pm b/Koha.pm
index f2a0005..9551458 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.007";
+$VERSION = "22.12.00.008";
 
 sub version {
     return $VERSION;
diff --git a/installer/data/mysql/atomicupdate/bug_33004_VENDOR_TYPE_AV.pl b/installer/data/mysql/atomicupdate/bug_33004_VENDOR_TYPE_AV.pl
deleted file mode 100755 (executable)
index a30cd9e..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-use Modern::Perl;
-
-return {
-    bug_number => "33004",
-    description => "Add VENDOR_TYPE authorised value category",
-    up => sub {
-        my ($args) = @_;
-        my ($dbh, $out) = @$args{qw(dbh out)};
-        $dbh->do(q{INSERT IGNORE INTO authorised_value_categories (category_name, is_system) VALUES ('VENDOR_TYPE', 1)});
-        say $out "Added new authorised value category 'VENDOR_TYPE'";
-    },
-};
diff --git a/installer/data/mysql/db_revs/221200008.pl b/installer/data/mysql/db_revs/221200008.pl
new file mode 100755 (executable)
index 0000000..a30cd9e
--- /dev/null
@@ -0,0 +1,12 @@
+use Modern::Perl;
+
+return {
+    bug_number => "33004",
+    description => "Add VENDOR_TYPE authorised value category",
+    up => sub {
+        my ($args) = @_;
+        my ($dbh, $out) = @$args{qw(dbh out)};
+        $dbh->do(q{INSERT IGNORE INTO authorised_value_categories (category_name, is_system) VALUES ('VENDOR_TYPE', 1)});
+        say $out "Added new authorised value category 'VENDOR_TYPE'";
+    },
+};