Lines 419-425
__PACKAGE__->table("borrowers");
Link Here
|
419 |
data_type: 'timestamp' |
419 |
data_type: 'timestamp' |
420 |
datetime_undef_if_invalid: 1 |
420 |
datetime_undef_if_invalid: 1 |
421 |
default_value: current_timestamp |
421 |
default_value: current_timestamp |
422 |
is_nullable: 0 |
422 |
is_nullable: 1 |
423 |
|
423 |
|
424 |
=head2 lastseen |
424 |
=head2 lastseen |
425 |
|
425 |
|
Lines 608-614
__PACKAGE__->add_columns(
Link Here
|
608 |
data_type => "timestamp", |
608 |
data_type => "timestamp", |
609 |
datetime_undef_if_invalid => 1, |
609 |
datetime_undef_if_invalid => 1, |
610 |
default_value => \"current_timestamp", |
610 |
default_value => \"current_timestamp", |
611 |
is_nullable => 0, |
611 |
is_nullable => 1, |
612 |
}, |
612 |
}, |
613 |
"lastseen", |
613 |
"lastseen", |
614 |
{ |
614 |
{ |
Lines 898-903
__PACKAGE__->has_many(
Link Here
|
898 |
{ cascade_copy => 0, cascade_delete => 0 }, |
898 |
{ cascade_copy => 0, cascade_delete => 0 }, |
899 |
); |
899 |
); |
900 |
|
900 |
|
|
|
901 |
=head2 housebound_profile |
902 |
|
903 |
Type: might_have |
904 |
|
905 |
Related object: L<Koha::Schema::Result::HouseboundProfile> |
906 |
|
907 |
=cut |
908 |
|
909 |
__PACKAGE__->might_have( |
910 |
"housebound_profile", |
911 |
"Koha::Schema::Result::HouseboundProfile", |
912 |
{ "foreign.borrowernumber" => "self.borrowernumber" }, |
913 |
{ cascade_copy => 0, cascade_delete => 0 }, |
914 |
); |
915 |
|
916 |
=head2 housebound_role |
917 |
|
918 |
Type: might_have |
919 |
|
920 |
Related object: L<Koha::Schema::Result::HouseboundRole> |
921 |
|
922 |
=cut |
923 |
|
924 |
__PACKAGE__->might_have( |
925 |
"housebound_role", |
926 |
"Koha::Schema::Result::HouseboundRole", |
927 |
{ "foreign.borrowernumber_id" => "self.borrowernumber" }, |
928 |
{ cascade_copy => 0, cascade_delete => 0 }, |
929 |
); |
930 |
|
931 |
=head2 housebound_visit_chooser_brwnumbers |
932 |
|
933 |
Type: has_many |
934 |
|
935 |
Related object: L<Koha::Schema::Result::HouseboundVisit> |
936 |
|
937 |
=cut |
938 |
|
939 |
__PACKAGE__->has_many( |
940 |
"housebound_visit_chooser_brwnumbers", |
941 |
"Koha::Schema::Result::HouseboundVisit", |
942 |
{ "foreign.chooser_brwnumber" => "self.borrowernumber" }, |
943 |
{ cascade_copy => 0, cascade_delete => 0 }, |
944 |
); |
945 |
|
946 |
=head2 housebound_visit_deliverer_brwnumbers |
947 |
|
948 |
Type: has_many |
949 |
|
950 |
Related object: L<Koha::Schema::Result::HouseboundVisit> |
951 |
|
952 |
=cut |
953 |
|
954 |
__PACKAGE__->has_many( |
955 |
"housebound_visit_deliverer_brwnumbers", |
956 |
"Koha::Schema::Result::HouseboundVisit", |
957 |
{ "foreign.deliverer_brwnumber" => "self.borrowernumber" }, |
958 |
{ cascade_copy => 0, cascade_delete => 0 }, |
959 |
); |
960 |
|
901 |
=head2 issues |
961 |
=head2 issues |
902 |
|
962 |
|
903 |
Type: has_many |
963 |
Type: has_many |
Lines 1244-1251
Composing rels: L</aqorder_users> -> ordernumber
Link Here
|
1244 |
__PACKAGE__->many_to_many("ordernumbers", "aqorder_users", "ordernumber"); |
1304 |
__PACKAGE__->many_to_many("ordernumbers", "aqorder_users", "ordernumber"); |
1245 |
|
1305 |
|
1246 |
|
1306 |
|
1247 |
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2016-09-13 17:32:29 |
1307 |
# Created by DBIx::Class::Schema::Loader v0.07039 @ 2016-10-13 07:29:58 |
1248 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:23Yg0CXG1z8f5Bx92JCVoQ |
1308 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:gTAVqirjg5ZckpVtRTXHOQ |
1249 |
|
1309 |
|
1250 |
__PACKAGE__->belongs_to( |
1310 |
__PACKAGE__->belongs_to( |
1251 |
"guarantor", |
1311 |
"guarantor", |