+use utf8;
package Koha::Schema::Result::Subscriptionhistory;
# Created by DBIx::Class::Schema::Loader
# DO NOT MODIFY THE FIRST PART OF THIS FILE
+=head1 NAME
+
+Koha::Schema::Result::Subscriptionhistory
+
+=cut
+
use strict;
use warnings;
use base 'DBIx::Class::Core';
-
-=head1 NAME
-
-Koha::Schema::Result::Subscriptionhistory
+=head1 TABLE: C<subscriptionhistory>
=cut
=head2 histstartdate
data_type: 'date'
+ datetime_undef_if_invalid: 1
is_nullable: 1
=head2 histenddate
data_type: 'date'
+ datetime_undef_if_invalid: 1
is_nullable: 1
=head2 missinglist
=head2 opacnote
- data_type: 'varchar'
- default_value: (empty string)
- is_nullable: 0
- size: 150
+ data_type: 'longtext'
+ is_nullable: 1
=head2 librariannote
- data_type: 'varchar'
- default_value: (empty string)
- is_nullable: 0
- size: 150
+ data_type: 'longtext'
+ is_nullable: 1
=cut
"subscriptionid",
{ data_type => "integer", default_value => 0, is_nullable => 0 },
"histstartdate",
- { data_type => "date", is_nullable => 1 },
+ { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 },
"histenddate",
- { data_type => "date", is_nullable => 1 },
+ { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 },
"missinglist",
{ data_type => "longtext", is_nullable => 0 },
"recievedlist",
{ data_type => "longtext", is_nullable => 0 },
"opacnote",
- { data_type => "varchar", default_value => "", is_nullable => 0, size => 150 },
+ { data_type => "longtext", is_nullable => 1 },
"librariannote",
- { data_type => "varchar", default_value => "", is_nullable => 0, size => 150 },
+ { data_type => "longtext", is_nullable => 1 },
);
+
+=head1 PRIMARY KEY
+
+=over 4
+
+=item * L</subscriptionid>
+
+=back
+
+=cut
+
__PACKAGE__->set_primary_key("subscriptionid");
-# Created by DBIx::Class::Schema::Loader v0.07000 @ 2012-09-02 08:44:15
-# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:sAkoymtV5cqWuY1fJi/UXg
+# Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-06-17 07:24:39
+# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:SK33dc7lx/rDGX3tiR84ww
+sub koha_object_class {
+ 'Koha::Subscription::History';
+}
+sub koha_objects_class {
+ 'Koha::Subscription::Historys';
+}
-# You can replace this text with custom content, and it will be preserved on regeneration
1;