Lines 254-290
__PACKAGE__->table("borrowers");
Link Here
|
254 |
is_nullable: 1 |
254 |
is_nullable: 1 |
255 |
size: 255 |
255 |
size: 255 |
256 |
|
256 |
|
257 |
=head2 contactname |
|
|
258 |
|
259 |
data_type: 'mediumtext' |
260 |
is_nullable: 1 |
261 |
|
262 |
=head2 contactfirstname |
263 |
|
264 |
data_type: 'text' |
265 |
is_nullable: 1 |
266 |
|
267 |
=head2 contacttitle |
268 |
|
269 |
data_type: 'text' |
270 |
is_nullable: 1 |
271 |
|
272 |
=head2 guarantorid |
273 |
|
274 |
data_type: 'integer' |
275 |
is_nullable: 1 |
276 |
|
277 |
=head2 borrowernotes |
257 |
=head2 borrowernotes |
278 |
|
258 |
|
279 |
data_type: 'mediumtext' |
259 |
data_type: 'mediumtext' |
280 |
is_nullable: 1 |
260 |
is_nullable: 1 |
281 |
|
261 |
|
282 |
=head2 relationship |
|
|
283 |
|
284 |
data_type: 'varchar' |
285 |
is_nullable: 1 |
286 |
size: 100 |
287 |
|
288 |
=head2 sex |
262 |
=head2 sex |
289 |
|
263 |
|
290 |
data_type: 'varchar' |
264 |
data_type: 'varchar' |
Lines 542-559
__PACKAGE__->add_columns(
Link Here
|
542 |
{ data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 }, |
516 |
{ data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 }, |
543 |
"debarredcomment", |
517 |
"debarredcomment", |
544 |
{ data_type => "varchar", is_nullable => 1, size => 255 }, |
518 |
{ data_type => "varchar", is_nullable => 1, size => 255 }, |
545 |
"contactname", |
|
|
546 |
{ data_type => "mediumtext", is_nullable => 1 }, |
547 |
"contactfirstname", |
548 |
{ data_type => "text", is_nullable => 1 }, |
549 |
"contacttitle", |
550 |
{ data_type => "text", is_nullable => 1 }, |
551 |
"guarantorid", |
552 |
{ data_type => "integer", is_nullable => 1 }, |
553 |
"borrowernotes", |
519 |
"borrowernotes", |
554 |
{ data_type => "mediumtext", is_nullable => 1 }, |
520 |
{ data_type => "mediumtext", is_nullable => 1 }, |
555 |
"relationship", |
|
|
556 |
{ data_type => "varchar", is_nullable => 1, size => 100 }, |
557 |
"sex", |
521 |
"sex", |
558 |
{ data_type => "varchar", is_nullable => 1, size => 1 }, |
522 |
{ data_type => "varchar", is_nullable => 1, size => 1 }, |
559 |
"password", |
523 |
"password", |
Lines 1138-1143
__PACKAGE__->has_many(
Link Here
|
1138 |
{ cascade_copy => 0, cascade_delete => 0 }, |
1102 |
{ cascade_copy => 0, cascade_delete => 0 }, |
1139 |
); |
1103 |
); |
1140 |
|
1104 |
|
|
|
1105 |
=head2 relationships_guarantees |
1106 |
|
1107 |
Type: has_many |
1108 |
|
1109 |
Related object: L<Koha::Schema::Result::Relationship> |
1110 |
|
1111 |
=cut |
1112 |
|
1113 |
__PACKAGE__->has_many( |
1114 |
"relationships_guarantees", |
1115 |
"Koha::Schema::Result::Relationship", |
1116 |
{ "foreign.guarantee_id" => "self.borrowernumber" }, |
1117 |
{ cascade_copy => 0, cascade_delete => 0 }, |
1118 |
); |
1119 |
|
1120 |
=head2 relationships_guarantors |
1121 |
|
1122 |
Type: has_many |
1123 |
|
1124 |
Related object: L<Koha::Schema::Result::Relationship> |
1125 |
|
1126 |
=cut |
1127 |
|
1128 |
__PACKAGE__->has_many( |
1129 |
"relationships_guarantors", |
1130 |
"Koha::Schema::Result::Relationship", |
1131 |
{ "foreign.guarantor_id" => "self.borrowernumber" }, |
1132 |
{ cascade_copy => 0, cascade_delete => 0 }, |
1133 |
); |
1134 |
|
1141 |
=head2 reserves |
1135 |
=head2 reserves |
1142 |
|
1136 |
|
1143 |
Type: has_many |
1137 |
Type: has_many |
Lines 1334-1341
Composing rels: L</aqorder_users> -> ordernumber
Link Here
|
1334 |
__PACKAGE__->many_to_many("ordernumbers", "aqorder_users", "ordernumber"); |
1328 |
__PACKAGE__->many_to_many("ordernumbers", "aqorder_users", "ordernumber"); |
1335 |
|
1329 |
|
1336 |
|
1330 |
|
1337 |
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2016-10-31 10:39:35 |
1331 |
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2016-12-12 16:31:58 |
1338 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Lc6GQ2E7d+tyzTk3v2sWjQ |
1332 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:gDowcouH821/r88EUCdq9Q |
1339 |
|
1333 |
|
1340 |
__PACKAGE__->belongs_to( |
1334 |
__PACKAGE__->belongs_to( |
1341 |
"guarantor", |
1335 |
"guarantor", |