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

(-)a/Koha/Schema/Result/Discharge.pm (-3 / +22 lines)
Lines 23-28 __PACKAGE__->table("discharges"); Link Here
23
23
24
=head1 ACCESSORS
24
=head1 ACCESSORS
25
25
26
=head2 discharge_id
27
28
  data_type: 'integer'
29
  is_auto_increment: 1
30
  is_nullable: 0
31
26
=head2 borrower
32
=head2 borrower
27
33
28
  data_type: 'integer'
34
  data_type: 'integer'
Lines 44-49 __PACKAGE__->table("discharges"); Link Here
44
=cut
50
=cut
45
51
46
__PACKAGE__->add_columns(
52
__PACKAGE__->add_columns(
53
  "discharge_id",
54
  { data_type => "integer", is_auto_increment => 1, is_nullable => 0 },
47
  "borrower",
55
  "borrower",
48
  { data_type => "integer", is_foreign_key => 1, is_nullable => 1 },
56
  { data_type => "integer", is_foreign_key => 1, is_nullable => 1 },
49
  "needed",
57
  "needed",
Lines 60-65 __PACKAGE__->add_columns( Link Here
60
  },
68
  },
61
);
69
);
62
70
71
=head1 PRIMARY KEY
72
73
=over 4
74
75
=item * L</discharge_id>
76
77
=back
78
79
=cut
80
81
__PACKAGE__->set_primary_key("discharge_id");
82
63
=head1 RELATIONS
83
=head1 RELATIONS
64
84
65
=head2 borrower
85
=head2 borrower
Lines 83-90 __PACKAGE__->belongs_to( Link Here
83
);
103
);
84
104
85
105
86
# Created by DBIx::Class::Schema::Loader v0.07039 @ 2014-01-08 18:15:13
106
# Created by DBIx::Class::Schema::Loader v0.07039 @ 2015-09-28 12:09:06
87
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:uq7Zb0SNf2mD3cpC4oub9A
107
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Wc3EkS92v98jXtena5VaUQ
88
108
89
109
90
# You can replace this text with custom code or comments, and it will be preserved on regeneration
110
# You can replace this text with custom code or comments, and it will be preserved on regeneration
91
- 

Return to bug 14368