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 560-577
__PACKAGE__->add_columns(
Link Here
|
560 |
{ data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 }, |
534 |
{ data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 }, |
561 |
"debarredcomment", |
535 |
"debarredcomment", |
562 |
{ data_type => "varchar", is_nullable => 1, size => 255 }, |
536 |
{ data_type => "varchar", is_nullable => 1, size => 255 }, |
563 |
"contactname", |
|
|
564 |
{ data_type => "mediumtext", is_nullable => 1 }, |
565 |
"contactfirstname", |
566 |
{ data_type => "text", is_nullable => 1 }, |
567 |
"contacttitle", |
568 |
{ data_type => "text", is_nullable => 1 }, |
569 |
"guarantorid", |
570 |
{ data_type => "integer", is_nullable => 1 }, |
571 |
"borrowernotes", |
537 |
"borrowernotes", |
572 |
{ data_type => "mediumtext", is_nullable => 1 }, |
538 |
{ data_type => "mediumtext", is_nullable => 1 }, |
573 |
"relationship", |
|
|
574 |
{ data_type => "varchar", is_nullable => 1, size => 100 }, |
575 |
"sex", |
539 |
"sex", |
576 |
{ data_type => "varchar", is_nullable => 1, size => 1 }, |
540 |
{ data_type => "varchar", is_nullable => 1, size => 1 }, |
577 |
"password", |
541 |
"password", |
Lines 1182-1187
__PACKAGE__->has_many(
Link Here
|
1182 |
{ cascade_copy => 0, cascade_delete => 0 }, |
1146 |
{ cascade_copy => 0, cascade_delete => 0 }, |
1183 |
); |
1147 |
); |
1184 |
|
1148 |
|
|
|
1149 |
=head2 relationships_guarantees |
1150 |
|
1151 |
Type: has_many |
1152 |
|
1153 |
Related object: L<Koha::Schema::Result::Relationship> |
1154 |
|
1155 |
=cut |
1156 |
|
1157 |
__PACKAGE__->has_many( |
1158 |
"relationships_guarantees", |
1159 |
"Koha::Schema::Result::Relationship", |
1160 |
{ "foreign.guarantee_id" => "self.borrowernumber" }, |
1161 |
{ cascade_copy => 0, cascade_delete => 0 }, |
1162 |
); |
1163 |
|
1164 |
=head2 relationships_guarantors |
1165 |
|
1166 |
Type: has_many |
1167 |
|
1168 |
Related object: L<Koha::Schema::Result::Relationship> |
1169 |
|
1170 |
=cut |
1171 |
|
1172 |
__PACKAGE__->has_many( |
1173 |
"relationships_guarantors", |
1174 |
"Koha::Schema::Result::Relationship", |
1175 |
{ "foreign.guarantor_id" => "self.borrowernumber" }, |
1176 |
{ cascade_copy => 0, cascade_delete => 0 }, |
1177 |
); |
1178 |
|
1185 |
=head2 reserves |
1179 |
=head2 reserves |
1186 |
|
1180 |
|
1187 |
Type: has_many |
1181 |
Type: has_many |
Lines 1378-1385
Composing rels: L</aqorder_users> -> ordernumber
Link Here
|
1378 |
__PACKAGE__->many_to_many("ordernumbers", "aqorder_users", "ordernumber"); |
1372 |
__PACKAGE__->many_to_many("ordernumbers", "aqorder_users", "ordernumber"); |
1379 |
|
1373 |
|
1380 |
|
1374 |
|
1381 |
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2017-05-09 21:24:02 |
1375 |
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2017-06-09 10:19:32 |
1382 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:7llO928plwtX2Q+I9nQA8A |
1376 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:ekzbsn+fbqMAKjwhonAsaA |
1383 |
|
1377 |
|
1384 |
__PACKAGE__->belongs_to( |
1378 |
__PACKAGE__->belongs_to( |
1385 |
"guarantor", |
1379 |
"guarantor", |