=head2 renewals
data_type: 'tinyint'
- is_nullable: 1
+ default_value: 0
+ is_nullable: 0
=head2 auto_renew
=head2 note
- data_type: 'mediumtext'
+ data_type: 'longtext'
is_nullable: 1
=head2 notedate
datetime_undef_if_invalid: 1
is_nullable: 1
+=head2 noteseen
+
+ data_type: 'integer'
+ is_nullable: 1
+
=cut
__PACKAGE__->add_columns(
is_nullable => 1,
},
"renewals",
- { data_type => "tinyint", is_nullable => 1 },
+ { data_type => "tinyint", default_value => 0, is_nullable => 0 },
"auto_renew",
{ data_type => "tinyint", default_value => 0, is_nullable => 1 },
"auto_renew_error",
"onsite_checkout",
{ data_type => "integer", default_value => 0, is_nullable => 0 },
"note",
- { data_type => "mediumtext", is_nullable => 1 },
+ { data_type => "longtext", is_nullable => 1 },
"notedate",
{
data_type => "datetime",
datetime_undef_if_invalid => 1,
is_nullable => 1,
},
+ "noteseen",
+ { data_type => "integer", is_nullable => 1 },
);
=head1 PRIMARY KEY
);
-# Created by DBIx::Class::Schema::Loader v0.07042 @ 2017-05-03 04:12:22
-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:ozRQZiF1LlOJy4KI53OpFw
+# Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-04-10 19:55:44
+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:PUF5X7X9K44BC0d43Rat7w
+
+__PACKAGE__->add_columns(
+ '+auto_renew' => { is_boolean => 1 },
+ '+onsite_checkout' => { is_boolean => 1 }
+);
__PACKAGE__->belongs_to(
"borrower",
},
);
+sub koha_object_class {
+ 'Koha::Checkout';
+}
+sub koha_objects_class {
+ 'Koha::Checkouts';
+}
+
1;