Lines 260-296
__PACKAGE__->table("borrowers");
Link Here
|
260 |
is_nullable: 1 |
260 |
is_nullable: 1 |
261 |
size: 255 |
261 |
size: 255 |
262 |
|
262 |
|
263 |
=head2 contactname |
|
|
264 |
|
265 |
data_type: 'mediumtext' |
266 |
is_nullable: 1 |
267 |
|
268 |
=head2 contactfirstname |
269 |
|
270 |
data_type: 'text' |
271 |
is_nullable: 1 |
272 |
|
273 |
=head2 contacttitle |
274 |
|
275 |
data_type: 'text' |
276 |
is_nullable: 1 |
277 |
|
278 |
=head2 guarantorid |
279 |
|
280 |
data_type: 'integer' |
281 |
is_nullable: 1 |
282 |
|
283 |
=head2 borrowernotes |
263 |
=head2 borrowernotes |
284 |
|
264 |
|
285 |
data_type: 'mediumtext' |
265 |
data_type: 'mediumtext' |
286 |
is_nullable: 1 |
266 |
is_nullable: 1 |
287 |
|
267 |
|
288 |
=head2 relationship |
|
|
289 |
|
290 |
data_type: 'varchar' |
291 |
is_nullable: 1 |
292 |
size: 100 |
293 |
|
294 |
=head2 sex |
268 |
=head2 sex |
295 |
|
269 |
|
296 |
data_type: 'varchar' |
270 |
data_type: 'varchar' |
Lines 568-585
__PACKAGE__->add_columns(
Link Here
|
568 |
{ data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 }, |
542 |
{ data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 }, |
569 |
"debarredcomment", |
543 |
"debarredcomment", |
570 |
{ data_type => "varchar", is_nullable => 1, size => 255 }, |
544 |
{ data_type => "varchar", is_nullable => 1, size => 255 }, |
571 |
"contactname", |
|
|
572 |
{ data_type => "mediumtext", is_nullable => 1 }, |
573 |
"contactfirstname", |
574 |
{ data_type => "text", is_nullable => 1 }, |
575 |
"contacttitle", |
576 |
{ data_type => "text", is_nullable => 1 }, |
577 |
"guarantorid", |
578 |
{ data_type => "integer", is_nullable => 1 }, |
579 |
"borrowernotes", |
545 |
"borrowernotes", |
580 |
{ data_type => "mediumtext", is_nullable => 1 }, |
546 |
{ data_type => "mediumtext", is_nullable => 1 }, |
581 |
"relationship", |
|
|
582 |
{ data_type => "varchar", is_nullable => 1, size => 100 }, |
583 |
"sex", |
547 |
"sex", |
584 |
{ data_type => "varchar", is_nullable => 1, size => 1 }, |
548 |
{ data_type => "varchar", is_nullable => 1, size => 1 }, |
585 |
"password", |
549 |
"password", |
Lines 1190-1195
__PACKAGE__->has_many(
Link Here
|
1190 |
{ cascade_copy => 0, cascade_delete => 0 }, |
1154 |
{ cascade_copy => 0, cascade_delete => 0 }, |
1191 |
); |
1155 |
); |
1192 |
|
1156 |
|
|
|
1157 |
=head2 relationships_guarantees |
1158 |
|
1159 |
Type: has_many |
1160 |
|
1161 |
Related object: L<Koha::Schema::Result::Relationship> |
1162 |
|
1163 |
=cut |
1164 |
|
1165 |
__PACKAGE__->has_many( |
1166 |
"relationships_guarantees", |
1167 |
"Koha::Schema::Result::Relationship", |
1168 |
{ "foreign.guarantee_id" => "self.borrowernumber" }, |
1169 |
{ cascade_copy => 0, cascade_delete => 0 }, |
1170 |
); |
1171 |
|
1172 |
=head2 relationships_guarantors |
1173 |
|
1174 |
Type: has_many |
1175 |
|
1176 |
Related object: L<Koha::Schema::Result::Relationship> |
1177 |
|
1178 |
=cut |
1179 |
|
1180 |
__PACKAGE__->has_many( |
1181 |
"relationships_guarantors", |
1182 |
"Koha::Schema::Result::Relationship", |
1183 |
{ "foreign.guarantor_id" => "self.borrowernumber" }, |
1184 |
{ cascade_copy => 0, cascade_delete => 0 }, |
1185 |
); |
1186 |
|
1193 |
=head2 reserves |
1187 |
=head2 reserves |
1194 |
|
1188 |
|
1195 |
Type: has_many |
1189 |
Type: has_many |
Lines 1386-1393
Composing rels: L</aqorder_users> -> ordernumber
Link Here
|
1386 |
__PACKAGE__->many_to_many("ordernumbers", "aqorder_users", "ordernumber"); |
1380 |
__PACKAGE__->many_to_many("ordernumbers", "aqorder_users", "ordernumber"); |
1387 |
|
1381 |
|
1388 |
|
1382 |
|
1389 |
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2017-11-09 11:42:45 |
1383 |
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-02-02 18:06:00 |
1390 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:UitEC1xK/a76Ff4ZCS2BKA |
1384 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:2A/rG4CezUzUbGb/zBZ2kg |
1391 |
|
1385 |
|
1392 |
__PACKAGE__->add_columns( |
1386 |
__PACKAGE__->add_columns( |
1393 |
'+lost' => { is_boolean => 1 }, |
1387 |
'+lost' => { is_boolean => 1 }, |