# - #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.06.00.012";
+$VERSION = "19.06.00.013";
sub version {
return $VERSION;
=head2 changed_fields
data_type: 'mediumtext'
- is_nullable: 1
+ is_nullable: 0
=head2 borrowernumber
"verification_token",
{ data_type => "varchar", default_value => "", is_nullable => 0, size => 255 },
"changed_fields",
- { data_type => "mediumtext", is_nullable => 1 },
+ { data_type => "mediumtext", is_nullable => 0 },
"borrowernumber",
{ data_type => "integer", default_value => 0, is_nullable => 0 },
"cardnumber",
__PACKAGE__->set_primary_key("verification_token", "borrowernumber");
-# Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-06-19 15:36:58
-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:j0cpf6F6MHMqFopc+/Wnbw
+# Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-07-19 09:06:10
+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:+nEG7YltIcgswwr2/5OSAw
sub koha_object_class {
'Koha::Patron::Modification';
+++ /dev/null
-$DBversion = 'XXX';
-if ( CheckVersion( $DBversion ) ) {
- unless ( column_exists( 'borrower_modifications', 'changed_fields' ) ) {
- $dbh->do("ALTER TABLE borrower_modifications ADD changed_fields MEDIUMTEXT AFTER verification_token;");
- }
- SetVersion( $DBversion );
- print "Upgrade to $DBversion done (Bug 23151 - Add borrower_modifications.changed_fields column)\n";
-}
print "Upgrade to $DBversion done (Bug 22563 - Fix accounttypes for 'L', 'LR' and 'CR')\n";
}
+$DBversion = '19.06.00.013';
+if ( CheckVersion( $DBversion ) ) {
+ unless ( column_exists( 'borrower_modifications', 'changed_fields' ) ) {
+ $dbh->do("ALTER TABLE borrower_modifications ADD changed_fields MEDIUMTEXT AFTER verification_token;");
+ }
+ SetVersion( $DBversion );
+ print "Upgrade to $DBversion done (Bug 23151 - Add borrower_modifications.changed_fields column)\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/';