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

(-)a/Koha/Schema/Result/Borrower.pm (-3 / +15 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_guarantor_checkouts
401
402
  data_type: 'tinyint'
403
  default_value: 0
404
  is_nullable: 0
405
400
=cut
406
=cut
401
407
402
__PACKAGE__->add_columns(
408
__PACKAGE__->add_columns(
Lines 546-551 __PACKAGE__->add_columns( Link Here
546
  { data_type => "varchar", is_nullable => 1, size => 50 },
552
  { data_type => "varchar", is_nullable => 1, size => 50 },
547
  "privacy",
553
  "privacy",
548
  { data_type => "integer", default_value => 1, is_nullable => 0 },
554
  { data_type => "integer", default_value => 1, is_nullable => 0 },
555
  "privacy_guarantor_checkouts",
556
  { data_type => "tinyint", default_value => 0, is_nullable => 0 },
549
);
557
);
550
558
551
=head1 PRIMARY KEY
559
=head1 PRIMARY KEY
Lines 1072-1080 Composing rels: L</course_instructors> -> course Link Here
1072
__PACKAGE__->many_to_many("courses", "course_instructors", "course");
1080
__PACKAGE__->many_to_many("courses", "course_instructors", "course");
1073
1081
1074
1082
1075
# Created by DBIx::Class::Schema::Loader v0.07039 @ 2014-07-11 09:26:55
1083
# Created by DBIx::Class::Schema::Loader v0.07040 @ 2014-07-21 11:43:41
1076
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:5cfpOojccKCoVRMj+0mWHg
1084
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:aT5LhZK5FpTxYKWL+jd7iw
1077
1085
1086
__PACKAGE__->belongs_to(
1087
    "guarantor",
1088
    "Koha::Schema::Result::Borrower",
1089
    { borrowernumber => "guarantorid" },
1090
);
1078
1091
1079
# You can replace this text with custom content, and it will be preserved on regeneration
1080
1;
1092
1;
(-)a/Koha/Schema/Result/Deletedborrower.pm (-2 / +10 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
398
=cut
404
=cut
399
405
400
__PACKAGE__->add_columns(
406
__PACKAGE__->add_columns(
Lines 532-542 __PACKAGE__->add_columns( Link Here
532
  { data_type => "varchar", is_nullable => 1, size => 50 },
538
  { data_type => "varchar", is_nullable => 1, size => 50 },
533
  "privacy",
539
  "privacy",
534
  { data_type => "integer", default_value => 1, is_nullable => 0 },
540
  { data_type => "integer", default_value => 1, is_nullable => 0 },
541
  "privacy_relative_checkouts",
542
  { data_type => "tinyint", default_value => 0, is_nullable => 0 },
535
);
543
);
536
544
537
545
538
# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21
546
# Created by DBIx::Class::Schema::Loader v0.07040 @ 2014-07-21 11:43:41
539
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:yA/UeNpbYIUrX/iWsF0NLw
547
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:XbtTcqznWs9nsQDB4QbMbw
540
548
541
549
542
# You can replace this text with custom content, and it will be preserved on regeneration
550
# 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