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 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
  { data_type => "integer", default_value => 0, is_nullable => 0 },
153
  { data_type => "integer", default_value => 0, is_nullable => 0 },
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 @ 2015-04-13 10:32:46
211
# Created by DBIx::Class::Schema::Loader v0.07039 @ 2015-04-23 13:04:51
192
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:0OEqB+pEZ2LV083bMk9xHA
212
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:3JH0+3CuwwhPyebyt/z+uw
193
213
194
__PACKAGE__->belongs_to(
214
__PACKAGE__->belongs_to(
195
    "borrower",
215
    "borrower",
(-)a/Koha/Schema/Result/OldIssue.pm (-3 / +21 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_nullable: 0
30
26
=head2 borrowernumber
31
=head2 borrowernumber
27
32
28
  data_type: 'integer'
33
  data_type: 'integer'
Lines 98-103 __PACKAGE__->table("old_issues"); Link Here
98
=cut
103
=cut
99
104
100
__PACKAGE__->add_columns(
105
__PACKAGE__->add_columns(
106
  "issue_id",
107
  { data_type => "integer", is_nullable => 0 },
101
  "borrowernumber",
108
  "borrowernumber",
102
  { data_type => "integer", is_foreign_key => 1, is_nullable => 1 },
109
  { data_type => "integer", is_foreign_key => 1, is_nullable => 1 },
103
  "itemnumber",
110
  "itemnumber",
Lines 145-150 __PACKAGE__->add_columns( Link Here
145
  { data_type => "integer", default_value => 0, is_nullable => 0 },
152
  { data_type => "integer", default_value => 0, is_nullable => 0 },
146
);
153
);
147
154
155
=head1 PRIMARY KEY
156
157
=over 4
158
159
=item * L</issue_id>
160
161
=back
162
163
=cut
164
165
__PACKAGE__->set_primary_key("issue_id");
166
148
=head1 RELATIONS
167
=head1 RELATIONS
149
168
150
=head2 borrowernumber
169
=head2 borrowernumber
Lines 188-195 __PACKAGE__->belongs_to( Link Here
188
);
207
);
189
208
190
209
191
# Created by DBIx::Class::Schema::Loader v0.07039 @ 2015-04-13 10:32:46
210
# Created by DBIx::Class::Schema::Loader v0.07039 @ 2015-04-23 13:04:51
192
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:uJ9927OIBB4Q4f4FCV9EDg
211
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:9GdzytyInRcFZns/q0qb3Q
193
212
194
213
195
# You can replace this text with custom content, and it will be preserved on regeneration
214
# You can replace this text with custom content, and it will be preserved on regeneration
196
- 

Return to bug 13790