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

(-)a/Koha/Schema/Result/BorrowerAttribute.pm (-3 / +22 lines)
Lines 23-28 __PACKAGE__->table("borrower_attributes"); Link Here
23
23
24
=head1 ACCESSORS
24
=head1 ACCESSORS
25
25
26
=head2 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 45-50 __PACKAGE__->table("borrower_attributes"); Link Here
45
=cut
51
=cut
46
52
47
__PACKAGE__->add_columns(
53
__PACKAGE__->add_columns(
54
  "id",
55
  { data_type => "integer", is_auto_increment => 1, is_nullable => 0 },
48
  "borrowernumber",
56
  "borrowernumber",
49
  { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
57
  { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
50
  "code",
58
  "code",
Lines 53-58 __PACKAGE__->add_columns( Link Here
53
  { data_type => "varchar", is_nullable => 1, size => 255 },
61
  { data_type => "varchar", is_nullable => 1, size => 255 },
54
);
62
);
55
63
64
=head1 PRIMARY KEY
65
66
=over 4
67
68
=item * L</id>
69
70
=back
71
72
=cut
73
74
__PACKAGE__->set_primary_key("id");
75
56
=head1 RELATIONS
76
=head1 RELATIONS
57
77
58
=head2 borrowernumber
78
=head2 borrowernumber
Lines 86-93 __PACKAGE__->belongs_to( Link Here
86
);
106
);
87
107
88
108
89
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2016-04-25 18:09:15
109
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2016-12-08 04:41:27
90
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:GfEFw+6mgaFw6Q8dktPtGw
110
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:EarETnedFsmRmAAJAUrKGg
91
111
92
112
93
# You can replace this text with custom content, and it will be preserved on regeneration
113
# You can replace this text with custom content, and it will be preserved on regeneration
94
- 

Return to bug 17813