# - #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 = "19.12.00.021";
+$VERSION = "19.12.00.022";
sub version {
return $VERSION;
=head2 uri
- data_type: 'varchar'
+ data_type: 'mediumtext'
is_nullable: 1
- size: 255
=head2 itype
"materials",
{ data_type => "mediumtext", is_nullable => 1 },
"uri",
- { data_type => "varchar", is_nullable => 1, size => 255 },
+ { data_type => "mediumtext", is_nullable => 1 },
"itype",
{ data_type => "varchar", is_nullable => 1, size => 10 },
"more_subfields_xml",
__PACKAGE__->set_primary_key("itemnumber");
-# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-09-26 16:15:09
-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:L7G0HG5gvgyhfpKb7LcUFw
+# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-02-17 10:42:24
+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:1+z3OHx5OpOcP82k8vyAaA
sub koha_objects_class {
'Koha::Old::Items';
=head2 uri
- data_type: 'varchar'
+ data_type: 'mediumtext'
is_nullable: 1
- size: 255
=head2 itype
"materials",
{ data_type => "mediumtext", is_nullable => 1 },
"uri",
- { data_type => "varchar", is_nullable => 1, size => 255 },
+ { data_type => "mediumtext", is_nullable => 1 },
"itype",
{ data_type => "varchar", is_nullable => 1, size => 10 },
"more_subfields_xml",
);
-# Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-10-10 14:31:00
-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:dqUjo9pJysKKBhF8PM5KnA
+# Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-02-17 10:42:24
+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:CcrMhgq+PQ1MHV6jZEN8wA
__PACKAGE__->belongs_to( biblioitem => "Koha::Schema::Result::Biblioitem", "biblioitemnumber" );
+++ /dev/null
-$DBversion = 'XXX'; # will be replaced by the RM
-if( CheckVersion( $DBversion ) ) {
- $dbh->do( "ALTER TABLE items MODIFY COLUMN uri MEDIUMTEXT" );
- $dbh->do( "ALTER TABLE deleteditems MODIFY COLUMN uri MEDIUMTEXT" );
-
- SetVersion( $DBversion );
- print "Upgrade to $DBversion done (Bug 20882 - items.uri to MEDIUMTEXT)\n";
-}
print "Upgrade to $DBversion done (Bug 24592 - Update LOST_RETURN to LOST_FOUND)\n";
}
+$DBversion = '19.12.00.022';
+if( CheckVersion( $DBversion ) ) {
+ $dbh->do( "ALTER TABLE items MODIFY COLUMN uri MEDIUMTEXT" );
+ $dbh->do( "ALTER TABLE deleteditems MODIFY COLUMN uri MEDIUMTEXT" );
+
+ SetVersion( $DBversion );
+ print "Upgrade to $DBversion done (Bug 20882 - items.uri to MEDIUMTEXT)\n";
+}
+
# 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/';