Bug 27424: DBRev 22.12.00.002
authorTomas Cohen Arazi <tomascohen@theke.io>
Tue, 31 Jan 2023 13:55:21 +0000 (10:55 -0300)
committerTomas Cohen Arazi <tomascohen@theke.io>
Tue, 31 Jan 2023 13:55:21 +0000 (10:55 -0300)
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Koha.pm
installer/data/mysql/atomicupdate/bug_27424.pl [deleted file]
installer/data/mysql/db_revs/221200002.pl [new file with mode: 0755]

diff --git a/Koha.pm b/Koha.pm
index 401c994..6c3cf87 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.001";
+$VERSION = "22.12.00.002";
 
 sub version {
     return $VERSION;
diff --git a/installer/data/mysql/atomicupdate/bug_27424.pl b/installer/data/mysql/atomicupdate/bug_27424.pl
deleted file mode 100755 (executable)
index 07d4ac5..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-use Modern::Perl;
-
-return {
-    bug_number => "27424",
-    description => "Add column to specify an SMTP server as the default",
-    up => sub {
-        my ($args) = @_;
-        my ($dbh, $out) = @$args{qw(dbh out)};
-        $dbh->do(q{ALTER TABLE smtp_servers ADD COLUMN `is_default` tinyint(1) NOT NULL DEFAULT 0 AFTER debug});
-    },
-};
diff --git a/installer/data/mysql/db_revs/221200002.pl b/installer/data/mysql/db_revs/221200002.pl
new file mode 100755 (executable)
index 0000000..07d4ac5
--- /dev/null
@@ -0,0 +1,11 @@
+use Modern::Perl;
+
+return {
+    bug_number => "27424",
+    description => "Add column to specify an SMTP server as the default",
+    up => sub {
+        my ($args) = @_;
+        my ($dbh, $out) = @$args{qw(dbh out)};
+        $dbh->do(q{ALTER TABLE smtp_servers ADD COLUMN `is_default` tinyint(1) NOT NULL DEFAULT 0 AFTER debug});
+    },
+};