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 547-564
__PACKAGE__->add_columns(
Link Here
|
547 |
{ data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 }, |
521 |
{ data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 }, |
548 |
"debarredcomment", |
522 |
"debarredcomment", |
549 |
{ data_type => "varchar", is_nullable => 1, size => 255 }, |
523 |
{ data_type => "varchar", is_nullable => 1, size => 255 }, |
550 |
"contactname", |
|
|
551 |
{ data_type => "mediumtext", is_nullable => 1 }, |
552 |
"contactfirstname", |
553 |
{ data_type => "text", is_nullable => 1 }, |
554 |
"contacttitle", |
555 |
{ data_type => "text", is_nullable => 1 }, |
556 |
"guarantorid", |
557 |
{ data_type => "integer", is_nullable => 1 }, |
558 |
"borrowernotes", |
524 |
"borrowernotes", |
559 |
{ data_type => "mediumtext", is_nullable => 1 }, |
525 |
{ data_type => "mediumtext", is_nullable => 1 }, |
560 |
"relationship", |
|
|
561 |
{ data_type => "varchar", is_nullable => 1, size => 100 }, |
562 |
"sex", |
526 |
"sex", |
563 |
{ data_type => "varchar", is_nullable => 1, size => 1 }, |
527 |
{ data_type => "varchar", is_nullable => 1, size => 1 }, |
564 |
"password", |
528 |
"password", |
Lines 1145-1150
__PACKAGE__->has_many(
Link Here
|
1145 |
{ cascade_copy => 0, cascade_delete => 0 }, |
1109 |
{ cascade_copy => 0, cascade_delete => 0 }, |
1146 |
); |
1110 |
); |
1147 |
|
1111 |
|
|
|
1112 |
=head2 relationships_guarantees |
1113 |
|
1114 |
Type: has_many |
1115 |
|
1116 |
Related object: L<Koha::Schema::Result::Relationship> |
1117 |
|
1118 |
=cut |
1119 |
|
1120 |
__PACKAGE__->has_many( |
1121 |
"relationships_guarantees", |
1122 |
"Koha::Schema::Result::Relationship", |
1123 |
{ "foreign.guarantee_id" => "self.borrowernumber" }, |
1124 |
{ cascade_copy => 0, cascade_delete => 0 }, |
1125 |
); |
1126 |
|
1127 |
=head2 relationships_guarantors |
1128 |
|
1129 |
Type: has_many |
1130 |
|
1131 |
Related object: L<Koha::Schema::Result::Relationship> |
1132 |
|
1133 |
=cut |
1134 |
|
1135 |
__PACKAGE__->has_many( |
1136 |
"relationships_guarantors", |
1137 |
"Koha::Schema::Result::Relationship", |
1138 |
{ "foreign.guarantor_id" => "self.borrowernumber" }, |
1139 |
{ cascade_copy => 0, cascade_delete => 0 }, |
1140 |
); |
1141 |
|
1148 |
=head2 reserves |
1142 |
=head2 reserves |
1149 |
|
1143 |
|
1150 |
Type: has_many |
1144 |
Type: has_many |
Lines 1341-1348
Composing rels: L</aqorder_users> -> ordernumber
Link Here
|
1341 |
__PACKAGE__->many_to_many("ordernumbers", "aqorder_users", "ordernumber"); |
1335 |
__PACKAGE__->many_to_many("ordernumbers", "aqorder_users", "ordernumber"); |
1342 |
|
1336 |
|
1343 |
|
1337 |
|
1344 |
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2017-02-10 07:30:06 |
1338 |
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2017-04-18 23:02:13 |
1345 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:35WEsGd5LmkZ3bB486M1yA |
1339 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:cQWHRJh+82G6Bn+R5yn2ig |
1346 |
|
1340 |
|
1347 |
__PACKAGE__->belongs_to( |
1341 |
__PACKAGE__->belongs_to( |
1348 |
"guarantor", |
1342 |
"guarantor", |