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

(-)a/Koha/Schema/Result/Borrower.pm (-2 / +10 lines)
Lines 407-412 __PACKAGE__->table("borrowers"); Link Here
407
  default_value: 1
407
  default_value: 1
408
  is_nullable: 0
408
  is_nullable: 0
409
409
410
=head2 privacy_guarantor_checkouts
411
412
  data_type: 'tinyint'
413
  default_value: 0
414
  is_nullable: 0
415
410
=cut
416
=cut
411
417
412
__PACKAGE__->add_columns(
418
__PACKAGE__->add_columns(
Lines 576-581 __PACKAGE__->add_columns( Link Here
576
  { data_type => "varchar", is_nullable => 1, size => 50 },
582
  { data_type => "varchar", is_nullable => 1, size => 50 },
577
  "privacy",
583
  "privacy",
578
  { data_type => "integer", default_value => 1, is_nullable => 0 },
584
  { data_type => "integer", default_value => 1, is_nullable => 0 },
585
  "privacy_guarantor_checkouts",
586
  { data_type => "tinyint", default_value => 0, is_nullable => 0 },
579
);
587
);
580
588
581
=head1 PRIMARY KEY
589
=head1 PRIMARY KEY
Lines 1129-1136 Composing rels: L</course_instructors> -> course Link Here
1129
__PACKAGE__->many_to_many("courses", "course_instructors", "course");
1137
__PACKAGE__->many_to_many("courses", "course_instructors", "course");
1130
1138
1131
1139
1132
# Created by DBIx::Class::Schema::Loader v0.07039 @ 2014-12-31 14:08:18
1140
# Created by DBIx::Class::Schema::Loader v0.07040 @ 2014-12-21 23:11:08
1133
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:mOTD/GsDpo3RPjUjTHrLRQ
1141
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:49MbDhILto8NukjDlkt8sA
1134
1142
1135
1143
1136
# You can replace this text with custom content, and it will be preserved on regeneration
1144
# You can replace this text with custom content, and it will be preserved on regeneration
(-)a/Koha/Schema/Result/Deletedborrower.pm (-2 / +10 lines)
Lines 405-410 __PACKAGE__->table("deletedborrowers"); Link Here
405
  default_value: 1
405
  default_value: 1
406
  is_nullable: 0
406
  is_nullable: 0
407
407
408
=head2 privacy_guarantor_checkouts
409
410
  data_type: 'tinyint'
411
  default_value: 0
412
  is_nullable: 0
413
408
=cut
414
=cut
409
415
410
__PACKAGE__->add_columns(
416
__PACKAGE__->add_columns(
Lines 562-572 __PACKAGE__->add_columns( Link Here
562
  { data_type => "varchar", is_nullable => 1, size => 50 },
568
  { data_type => "varchar", is_nullable => 1, size => 50 },
563
  "privacy",
569
  "privacy",
564
  { data_type => "integer", default_value => 1, is_nullable => 0 },
570
  { data_type => "integer", default_value => 1, is_nullable => 0 },
571
  "privacy_guarantor_checkouts",
572
  { data_type => "tinyint", default_value => 0, is_nullable => 0 },
565
);
573
);
566
574
567
575
568
# Created by DBIx::Class::Schema::Loader v0.07039 @ 2014-08-18 13:01:05
576
# Created by DBIx::Class::Schema::Loader v0.07040 @ 2014-12-21 23:11:08
569
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:cRaxMYFjVG7JB7AvsdCweg
577
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:ZbIeSjSJcOtYR/mSog6JGQ
570
578
571
579
572
# You can replace this text with custom content, and it will be preserved on regeneration
580
# 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 104-109 __PACKAGE__->table("issues"); Link Here
104
=cut
110
=cut
105
111
106
__PACKAGE__->add_columns(
112
__PACKAGE__->add_columns(
113
  "issue_id",
114
  { data_type => "integer", is_auto_increment => 1, is_nullable => 0 },
107
  "borrowernumber",
115
  "borrowernumber",
108
  { data_type => "integer", is_foreign_key => 1, is_nullable => 1 },
116
  { data_type => "integer", is_foreign_key => 1, is_nullable => 1 },
109
  "itemnumber",
117
  "itemnumber",
Lines 153-158 __PACKAGE__->add_columns( Link Here
153
  { data_type => "integer", default_value => 0, is_nullable => 0 },
161
  { data_type => "integer", default_value => 0, is_nullable => 0 },
154
);
162
);
155
163
164
=head1 PRIMARY KEY
165
166
=over 4
167
168
=item * L</issue_id>
169
170
=back
171
172
=cut
173
174
__PACKAGE__->set_primary_key("issue_id");
175
156
=head1 RELATIONS
176
=head1 RELATIONS
157
177
158
=head2 borrowernumber
178
=head2 borrowernumber
Lines 196-203 __PACKAGE__->belongs_to( Link Here
196
);
216
);
197
217
198
218
199
# Created by DBIx::Class::Schema::Loader v0.07039 @ 2014-11-03 10:40:55
219
# Created by DBIx::Class::Schema::Loader v0.07040 @ 2014-12-21 23:11:08
200
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:7Y+5IerDnajn5GLwAY5thg
220
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:XRRX1QRSzNEh8egdIu9JXw
201
221
202
__PACKAGE__->belongs_to(
222
__PACKAGE__->belongs_to(
203
    "borrower",
223
    "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 104-109 __PACKAGE__->table("old_issues"); Link Here
104
=cut
110
=cut
105
111
106
__PACKAGE__->add_columns(
112
__PACKAGE__->add_columns(
113
  "issue_id",
114
  { data_type => "integer", is_auto_increment => 1, is_nullable => 0 },
107
  "borrowernumber",
115
  "borrowernumber",
108
  { data_type => "integer", is_foreign_key => 1, is_nullable => 1 },
116
  { data_type => "integer", is_foreign_key => 1, is_nullable => 1 },
109
  "itemnumber",
117
  "itemnumber",
Lines 153-158 __PACKAGE__->add_columns( Link Here
153
  { data_type => "integer", default_value => 0, is_nullable => 0 },
161
  { data_type => "integer", default_value => 0, is_nullable => 0 },
154
);
162
);
155
163
164
=head1 PRIMARY KEY
165
166
=over 4
167
168
=item * L</issue_id>
169
170
=back
171
172
=cut
173
174
__PACKAGE__->set_primary_key("issue_id");
175
156
=head1 RELATIONS
176
=head1 RELATIONS
157
177
158
=head2 borrowernumber
178
=head2 borrowernumber
Lines 196-203 __PACKAGE__->belongs_to( Link Here
196
);
216
);
197
217
198
218
199
# Created by DBIx::Class::Schema::Loader v0.07039 @ 2014-11-03 10:40:55
219
# Created by DBIx::Class::Schema::Loader v0.07040 @ 2014-12-21 23:11:08
200
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:lNB9CDFcwG4DjD0pl14mvQ
220
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:4xNiEAFgKgce//lrRYxwRA
201
221
202
222
203
# You can replace this text with custom content, and it will be preserved on regeneration
223
# You can replace this text with custom content, and it will be preserved on regeneration
204
- 

Return to bug 9303