Bug 28489: DBRev 21.05.01.000
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
This commit is contained in:
parent
8d2d37da5c
commit
5c8975a2d6
3 changed files with 12 additions and 8 deletions
4
Koha.pm
4
Koha.pm
|
@ -29,7 +29,11 @@ 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.
|
||||
<<<<<<< HEAD
|
||||
$VERSION = "21.05.00.000";
|
||||
=======
|
||||
$VERSION = "21.06.00.001";
|
||||
>>>>>>> 0e8a2d58af (Bug 28489: DBRev 21.06.00.001)
|
||||
|
||||
sub version {
|
||||
return $VERSION;
|
||||
|
|
|
@ -1,8 +0,0 @@
|
|||
$DBversion = 'XXX';
|
||||
if ( CheckVersion($DBversion) ) {
|
||||
$dbh->do('DELETE FROM sessions');
|
||||
$dbh->do('ALTER TABLE sessions MODIFY a_session LONGBLOB NOT NULL');
|
||||
|
||||
NewVersion( $DBversion, '28489',
|
||||
'Modify sessions.a_session from longtext to longblob' );
|
||||
}
|
|
@ -24279,6 +24279,14 @@ if( CheckVersion( $DBversion ) ) {
|
|||
NewVersion( $DBversion, "", "Koha 21.05.00 release" );
|
||||
}
|
||||
|
||||
$DBversion = '21.05.01.000';
|
||||
if ( CheckVersion($DBversion) ) {
|
||||
$dbh->do('DELETE FROM sessions');
|
||||
$dbh->do('ALTER TABLE sessions MODIFY a_session LONGBLOB NOT NULL');
|
||||
|
||||
NewVersion( $DBversion, '28489', 'Modify sessions.a_session from longtext to longblob' );
|
||||
}
|
||||
|
||||
# SEE bug 13068
|
||||
# if there is anything in the atomicupdate, read and execute it.
|
||||
my $update_dir = C4::Context->config('intranetdir') . '/installer/data/mysql/atomicupdate/';
|
||||
|
|
Loading…
Reference in a new issue