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 1102-1109 Composing rels: L</course_instructors> -> course Link Here
1102
__PACKAGE__->many_to_many("courses", "course_instructors", "course");
1110
__PACKAGE__->many_to_many("courses", "course_instructors", "course");
1103
1111
1104
1112
1105
# Created by DBIx::Class::Schema::Loader v0.07039 @ 2014-08-18 13:01:05
1113
# Created by DBIx::Class::Schema::Loader v0.07040 @ 2014-10-08 05:25:06
1106
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:ZzZiKYN4b/LuEARX4rawhA
1114
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:RBZ0y5EDS2o8CK/mtWfTYw
1107
1115
1108
1116
1109
# You can replace this text with custom content, and it will be preserved on regeneration
1117
# 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-10-08 05:25:07
569
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:cRaxMYFjVG7JB7AvsdCweg
577
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:FjBnqjjJ8VnTSYAPeHl4rw
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 98-103 __PACKAGE__->table("issues"); Link Here
98
=cut
104
=cut
99
105
100
__PACKAGE__->add_columns(
106
__PACKAGE__->add_columns(
107
  "issue_id",
108
  { data_type => "integer", is_auto_increment => 1, is_nullable => 0 },
101
  "borrowernumber",
109
  "borrowernumber",
102
  { data_type => "integer", is_foreign_key => 1, is_nullable => 1 },
110
  { data_type => "integer", is_foreign_key => 1, is_nullable => 1 },
103
  "itemnumber",
111
  "itemnumber",
Lines 145-150 __PACKAGE__->add_columns( Link Here
145
  },
153
  },
146
);
154
);
147
155
156
=head1 PRIMARY KEY
157
158
=over 4
159
160
=item * L</issue_id>
161
162
=back
163
164
=cut
165
166
__PACKAGE__->set_primary_key("issue_id");
167
148
=head1 RELATIONS
168
=head1 RELATIONS
149
169
150
=head2 borrowernumber
170
=head2 borrowernumber
Lines 188-195 __PACKAGE__->belongs_to( Link Here
188
);
208
);
189
209
190
210
191
# Created by DBIx::Class::Schema::Loader v0.07039 @ 2014-09-17 21:06:58
211
# Created by DBIx::Class::Schema::Loader v0.07040 @ 2014-10-08 05:25:07
192
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:vhnsyH2GOjEEjOWjCS5Lpw
212
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:YiydSfxAtBlUCgG+vZahFg
193
213
194
__PACKAGE__->belongs_to(
214
__PACKAGE__->belongs_to(
195
    "borrower",
215
    "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 98-103 __PACKAGE__->table("old_issues"); Link Here
98
=cut
104
=cut
99
105
100
__PACKAGE__->add_columns(
106
__PACKAGE__->add_columns(
107
  "issue_id",
108
  { data_type => "integer", is_auto_increment => 1, is_nullable => 0 },
101
  "borrowernumber",
109
  "borrowernumber",
102
  { data_type => "integer", is_foreign_key => 1, is_nullable => 1 },
110
  { data_type => "integer", is_foreign_key => 1, is_nullable => 1 },
103
  "itemnumber",
111
  "itemnumber",
Lines 145-150 __PACKAGE__->add_columns( Link Here
145
  },
153
  },
146
);
154
);
147
155
156
=head1 PRIMARY KEY
157
158
=over 4
159
160
=item * L</issue_id>
161
162
=back
163
164
=cut
165
166
__PACKAGE__->set_primary_key("issue_id");
167
148
=head1 RELATIONS
168
=head1 RELATIONS
149
169
150
=head2 borrowernumber
170
=head2 borrowernumber
Lines 188-195 __PACKAGE__->belongs_to( Link Here
188
);
208
);
189
209
190
210
191
# Created by DBIx::Class::Schema::Loader v0.07039 @ 2014-09-17 21:06:58
211
# Created by DBIx::Class::Schema::Loader v0.07040 @ 2014-10-08 05:25:07
192
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:/ofcOgd+0YhWqMTWEDdaCw
212
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:pItnJfXfNs59kFmUmMEeEw
193
213
194
214
195
# You can replace this text with custom content, and it will be preserved on regeneration
215
# You can replace this text with custom content, and it will be preserved on regeneration
196
- 

Return to bug 9303