View | Details | Raw Unified | Return to bug 14570
Collapse All | Expand All

(-)a/Koha/Schema/Result/Borrower.pm (-38 / +32 lines)
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",
(-)a/Koha/Schema/Result/BorrowerModification.pm (-38 / +2 lines)
Lines 264-300 __PACKAGE__->table("borrower_modifications"); Link Here
264
  is_nullable: 1
264
  is_nullable: 1
265
  size: 255
265
  size: 255
266
266
267
=head2 contactname
268
269
  data_type: 'mediumtext'
270
  is_nullable: 1
271
272
=head2 contactfirstname
273
274
  data_type: 'text'
275
  is_nullable: 1
276
277
=head2 contacttitle
278
279
  data_type: 'text'
280
  is_nullable: 1
281
282
=head2 guarantorid
283
284
  data_type: 'integer'
285
  is_nullable: 1
286
287
=head2 borrowernotes
267
=head2 borrowernotes
288
268
289
  data_type: 'mediumtext'
269
  data_type: 'mediumtext'
290
  is_nullable: 1
270
  is_nullable: 1
291
271
292
=head2 relationship
293
294
  data_type: 'varchar'
295
  is_nullable: 1
296
  size: 100
297
298
=head2 sex
272
=head2 sex
299
273
300
  data_type: 'varchar'
274
  data_type: 'varchar'
Lines 521-538 __PACKAGE__->add_columns( Link Here
521
  { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 },
495
  { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 },
522
  "debarredcomment",
496
  "debarredcomment",
523
  { data_type => "varchar", is_nullable => 1, size => 255 },
497
  { data_type => "varchar", is_nullable => 1, size => 255 },
524
  "contactname",
525
  { data_type => "mediumtext", is_nullable => 1 },
526
  "contactfirstname",
527
  { data_type => "text", is_nullable => 1 },
528
  "contacttitle",
529
  { data_type => "text", is_nullable => 1 },
530
  "guarantorid",
531
  { data_type => "integer", is_nullable => 1 },
532
  "borrowernotes",
498
  "borrowernotes",
533
  { data_type => "mediumtext", is_nullable => 1 },
499
  { data_type => "mediumtext", is_nullable => 1 },
534
  "relationship",
535
  { data_type => "varchar", is_nullable => 1, size => 100 },
536
  "sex",
500
  "sex",
537
  { data_type => "varchar", is_nullable => 1, size => 1 },
501
  { data_type => "varchar", is_nullable => 1, size => 1 },
538
  "password",
502
  "password",
Lines 590-597 __PACKAGE__->add_columns( Link Here
590
__PACKAGE__->set_primary_key("verification_token", "borrowernumber");
554
__PACKAGE__->set_primary_key("verification_token", "borrowernumber");
591
555
592
556
593
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2016-12-12 20:04:12
557
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2017-06-09 10:19:32
594
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:IZNhBX5Bj+x4S8JCWG+7lA
558
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:29NVO2+ZpOHw25N+H1VJtg
595
559
596
560
597
# You can replace this text with custom content, and it will be preserved on regeneration
561
# You can replace this text with custom content, and it will be preserved on regeneration
(-)a/Koha/Schema/Result/Deletedborrower.pm (-39 / +2 lines)
Lines 252-288 __PACKAGE__->table("deletedborrowers"); Link Here
252
  is_nullable: 1
252
  is_nullable: 1
253
  size: 255
253
  size: 255
254
254
255
=head2 contactname
256
257
  data_type: 'mediumtext'
258
  is_nullable: 1
259
260
=head2 contactfirstname
261
262
  data_type: 'text'
263
  is_nullable: 1
264
265
=head2 contacttitle
266
267
  data_type: 'text'
268
  is_nullable: 1
269
270
=head2 guarantorid
271
272
  data_type: 'integer'
273
  is_nullable: 1
274
275
=head2 borrowernotes
255
=head2 borrowernotes
276
256
277
  data_type: 'mediumtext'
257
  data_type: 'mediumtext'
278
  is_nullable: 1
258
  is_nullable: 1
279
259
280
=head2 relationship
281
282
  data_type: 'varchar'
283
  is_nullable: 1
284
  size: 100
285
286
=head2 sex
260
=head2 sex
287
261
288
  data_type: 'varchar'
262
  data_type: 'varchar'
Lines 545-562 __PACKAGE__->add_columns( Link Here
545
  { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 },
519
  { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 },
546
  "debarredcomment",
520
  "debarredcomment",
547
  { data_type => "varchar", is_nullable => 1, size => 255 },
521
  { data_type => "varchar", is_nullable => 1, size => 255 },
548
  "contactname",
549
  { data_type => "mediumtext", is_nullable => 1 },
550
  "contactfirstname",
551
  { data_type => "text", is_nullable => 1 },
552
  "contacttitle",
553
  { data_type => "text", is_nullable => 1 },
554
  "guarantorid",
555
  { data_type => "integer", is_nullable => 1 },
556
  "borrowernotes",
522
  "borrowernotes",
557
  { data_type => "mediumtext", is_nullable => 1 },
523
  { data_type => "mediumtext", is_nullable => 1 },
558
  "relationship",
559
  { data_type => "varchar", is_nullable => 1, size => 100 },
560
  "sex",
524
  "sex",
561
  { data_type => "varchar", is_nullable => 1, size => 1 },
525
  { data_type => "varchar", is_nullable => 1, size => 1 },
562
  "password",
526
  "password",
Lines 633-640 __PACKAGE__->add_columns( Link Here
633
);
597
);
634
598
635
599
636
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2017-05-09 21:24:03
600
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2017-06-09 10:19:32
637
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:SpP0xoSTFIweqTp1muUwvg
601
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:JOnS4hPcx9Q3xpnApM1Bkw
638
602
639
603
640
# You can replace this text with custom code or comments, and it will be preserved on regeneration
604
# You can replace this text with custom code or comments, and it will be preserved on regeneration
641
- 

Return to bug 14570