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

(-)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.07042 @ 2015-03-04 01:28:57
200
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:7Y+5IerDnajn5GLwAY5thg
220
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:6qScIJXFf22NupHb0j1Geg
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.07042 @ 2015-03-04 01:28:58
200
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:lNB9CDFcwG4DjD0pl14mvQ
220
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:RtXioj56llRjPoeKpTghPg
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 13790