# - #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.003";
+$VERSION = "22.12.00.004";
sub version {
return $VERSION;
+++ /dev/null
-use Modern::Perl;
-
-return {
- bug_number => "30642",
- description => "Record whether a renewal has been done manually or automatically.",
- up => sub {
- my ($args) = @_;
- my ($dbh, $out) = @$args{qw(dbh out)};
-
- if( !column_exists( 'checkout_renewals', 'renewal_type' ) ) {
- $dbh->do(q{
- ALTER TABLE checkout_renewals ADD COLUMN `renewal_type` enum('Automatic', 'Manual') NOT NULL DEFAULT 'Manual' AFTER `timestamp`
- });
-
- say $out "Added column 'checkout_renewals.column_name'";
- }
- },
-};
\ No newline at end of file
--- /dev/null
+use Modern::Perl;
+
+return {
+ bug_number => "30642",
+ description => "Record whether a renewal has been done manually or automatically.",
+ up => sub {
+ my ($args) = @_;
+ my ($dbh, $out) = @$args{qw(dbh out)};
+
+ if( !column_exists( 'checkout_renewals', 'renewal_type' ) ) {
+ $dbh->do(q{
+ ALTER TABLE checkout_renewals ADD COLUMN `renewal_type` enum('Automatic', 'Manual') NOT NULL DEFAULT 'Manual' AFTER `timestamp`
+ });
+
+ say $out "Added column 'checkout_renewals.column_name'";
+ }
+ },
+};
\ No newline at end of file