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

(-)a/Koha/Schema/Result/Borrower.pm (-3 / +23 lines)
Lines 397-402 __PACKAGE__->table("borrowers"); Link Here
397
  default_value: 1
397
  default_value: 1
398
  is_nullable: 0
398
  is_nullable: 0
399
399
400
=head2 privacy_relative_checkouts
401
402
  data_type: 'tinyint'
403
  default_value: 0
404
  is_nullable: 0
405
406
=head2 privacy_guarantor_checkouts
407
408
  data_type: 'tinyint'
409
  default_value: 0
410
  is_nullable: 0
411
400
=cut
412
=cut
401
413
402
__PACKAGE__->add_columns(
414
__PACKAGE__->add_columns(
Lines 546-551 __PACKAGE__->add_columns( Link Here
546
  { data_type => "varchar", is_nullable => 1, size => 50 },
558
  { data_type => "varchar", is_nullable => 1, size => 50 },
547
  "privacy",
559
  "privacy",
548
  { data_type => "integer", default_value => 1, is_nullable => 0 },
560
  { data_type => "integer", default_value => 1, is_nullable => 0 },
561
  "privacy_relative_checkouts",
562
  { data_type => "tinyint", default_value => 0, is_nullable => 0 },
563
  "privacy_guarantor_checkouts",
564
  { data_type => "tinyint", default_value => 0, is_nullable => 0 },
549
);
565
);
550
566
551
=head1 PRIMARY KEY
567
=head1 PRIMARY KEY
Lines 1072-1080 Composing rels: L</course_instructors> -> course Link Here
1072
__PACKAGE__->many_to_many("courses", "course_instructors", "course");
1088
__PACKAGE__->many_to_many("courses", "course_instructors", "course");
1073
1089
1074
1090
1075
# Created by DBIx::Class::Schema::Loader v0.07039 @ 2014-07-11 09:26:55
1091
# Created by DBIx::Class::Schema::Loader v0.07040 @ 2014-07-21 12:03:28
1076
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:5cfpOojccKCoVRMj+0mWHg
1092
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:YU6nhBaKHuvM8f1zE5dIfA
1077
1093
1094
__PACKAGE__->belongs_to(
1095
    "guarantor",
1096
    "Koha::Schema::Result::Borrower",
1097
    { borrowernumber => "guarantorid" },
1098
);
1078
1099
1079
# You can replace this text with custom content, and it will be preserved on regeneration
1080
1;
1100
1;
(-)a/Koha/Schema/Result/Deletedborrower.pm (-2 / +18 lines)
Lines 395-400 __PACKAGE__->table("deletedborrowers"); Link Here
395
  default_value: 1
395
  default_value: 1
396
  is_nullable: 0
396
  is_nullable: 0
397
397
398
=head2 privacy_relative_checkouts
399
400
  data_type: 'tinyint'
401
  default_value: 0
402
  is_nullable: 0
403
404
=head2 privacy_guarantor_checkouts
405
406
  data_type: 'tinyint'
407
  default_value: 0
408
  is_nullable: 0
409
398
=cut
410
=cut
399
411
400
__PACKAGE__->add_columns(
412
__PACKAGE__->add_columns(
Lines 532-542 __PACKAGE__->add_columns( Link Here
532
  { data_type => "varchar", is_nullable => 1, size => 50 },
544
  { data_type => "varchar", is_nullable => 1, size => 50 },
533
  "privacy",
545
  "privacy",
534
  { data_type => "integer", default_value => 1, is_nullable => 0 },
546
  { data_type => "integer", default_value => 1, is_nullable => 0 },
547
  "privacy_relative_checkouts",
548
  { data_type => "tinyint", default_value => 0, is_nullable => 0 },
549
  "privacy_guarantor_checkouts",
550
  { data_type => "tinyint", default_value => 0, is_nullable => 0 },
535
);
551
);
536
552
537
553
538
# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21
554
# Created by DBIx::Class::Schema::Loader v0.07040 @ 2014-07-21 12:03:28
539
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:yA/UeNpbYIUrX/iWsF0NLw
555
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:/Jz6J63PjXTPuVJaRnVjoQ
540
556
541
557
542
# You can replace this text with custom content, and it will be preserved on regeneration
558
# You can replace this text with custom content, and it will be preserved on regeneration
(-)a/Koha/Schema/Result/Issue.pm (-2 / +22 lines)
Lines 23-28 __PACKAGE__->table("issues"); Link Here
23
23
24
=head1 ACCESSORS
24
=head1 ACCESSORS
25
25
26
=head2 issue_id
27
28
  data_type: 'integer'
29
  is_auto_increment: 1
30
  is_nullable: 0
31
26
=head2 borrowernumber
32
=head2 borrowernumber
27
33
28
  data_type: 'integer'
34
  data_type: 'integer'
Lines 92-97 __PACKAGE__->table("issues"); Link Here
92
=cut
98
=cut
93
99
94
__PACKAGE__->add_columns(
100
__PACKAGE__->add_columns(
101
  "issue_id",
102
  { data_type => "integer", is_auto_increment => 1, is_nullable => 0 },
95
  "borrowernumber",
103
  "borrowernumber",
96
  { data_type => "integer", is_foreign_key => 1, is_nullable => 1 },
104
  { data_type => "integer", is_foreign_key => 1, is_nullable => 1 },
97
  "itemnumber",
105
  "itemnumber",
Lines 137-142 __PACKAGE__->add_columns( Link Here
137
  },
145
  },
138
);
146
);
139
147
148
=head1 PRIMARY KEY
149
150
=over 4
151
152
=item * L</issue_id>
153
154
=back
155
156
=cut
157
158
__PACKAGE__->set_primary_key("issue_id");
159
140
=head1 RELATIONS
160
=head1 RELATIONS
141
161
142
=head2 borrowernumber
162
=head2 borrowernumber
Lines 180-187 __PACKAGE__->belongs_to( Link Here
180
);
200
);
181
201
182
202
183
# Created by DBIx::Class::Schema::Loader v0.07039 @ 2014-07-11 09:26:55
203
# Created by DBIx::Class::Schema::Loader v0.07040 @ 2014-07-21 11:43:41
184
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:2SJJ3az4Ml9hKEQvNH3+Kw
204
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:2W1fqwPnf7OFgJL3yzd8Fw
185
205
186
__PACKAGE__->belongs_to(
206
__PACKAGE__->belongs_to(
187
    "borrower",
207
    "borrower",
(-)a/Koha/Schema/Result/OldIssue.pm (-3 / +22 lines)
Lines 23-28 __PACKAGE__->table("old_issues"); Link Here
23
23
24
=head1 ACCESSORS
24
=head1 ACCESSORS
25
25
26
=head2 issue_id
27
28
  data_type: 'integer'
29
  is_auto_increment: 1
30
  is_nullable: 0
31
26
=head2 borrowernumber
32
=head2 borrowernumber
27
33
28
  data_type: 'integer'
34
  data_type: 'integer'
Lines 92-97 __PACKAGE__->table("old_issues"); Link Here
92
=cut
98
=cut
93
99
94
__PACKAGE__->add_columns(
100
__PACKAGE__->add_columns(
101
  "issue_id",
102
  { data_type => "integer", is_auto_increment => 1, is_nullable => 0 },
95
  "borrowernumber",
103
  "borrowernumber",
96
  { data_type => "integer", is_foreign_key => 1, is_nullable => 1 },
104
  { data_type => "integer", is_foreign_key => 1, is_nullable => 1 },
97
  "itemnumber",
105
  "itemnumber",
Lines 137-142 __PACKAGE__->add_columns( Link Here
137
  },
145
  },
138
);
146
);
139
147
148
=head1 PRIMARY KEY
149
150
=over 4
151
152
=item * L</issue_id>
153
154
=back
155
156
=cut
157
158
__PACKAGE__->set_primary_key("issue_id");
159
140
=head1 RELATIONS
160
=head1 RELATIONS
141
161
142
=head2 borrowernumber
162
=head2 borrowernumber
Lines 180-187 __PACKAGE__->belongs_to( Link Here
180
);
200
);
181
201
182
202
183
# Created by DBIx::Class::Schema::Loader v0.07039 @ 2014-07-11 09:26:55
203
# Created by DBIx::Class::Schema::Loader v0.07040 @ 2014-07-21 11:43:41
184
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:sgsDHihVYHrTycbaqoGbaQ
204
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:254E5Y9hyKdEXLMZ9nbAwQ
185
205
186
206
187
# You can replace this text with custom content, and it will be preserved on regeneration
207
# You can replace this text with custom content, and it will be preserved on regeneration
188
- 

Return to bug 9303