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

(-)a/Koha/Schema/Result/BorrowerAttributeType.pm (-2 / +11 lines)
Lines 143-149 defines if this field is copied to anonymized_borrower_attributes (1 for yes, 0 Link Here
143
  default_value: 0
143
  default_value: 0
144
  is_nullable: 0
144
  is_nullable: 0
145
145
146
defines if the attribute is mandatory or not
146
defines if the attribute is mandatory or not on the staff client
147
148
=head2 opac_mandatory
149
150
  data_type: 'tinyint'
151
  default_value: 0
152
  is_nullable: 0
153
154
defines if the attribute is mandatory or not on the OPAC
147
155
148
=cut
156
=cut
149
157
Lines 178-183 __PACKAGE__->add_columns( Link Here
178
  { data_type => "tinyint", default_value => 0, is_nullable => 0 },
186
  { data_type => "tinyint", default_value => 0, is_nullable => 0 },
179
  "mandatory",
187
  "mandatory",
180
  { data_type => "tinyint", default_value => 0, is_nullable => 0 },
188
  { data_type => "tinyint", default_value => 0, is_nullable => 0 },
189
  "opac_mandatory",
190
  { data_type => "tinyint", default_value => 0, is_nullable => 0 },
181
);
191
);
182
192
183
=head1 PRIMARY KEY
193
=head1 PRIMARY KEY
184
- 

Return to bug 35635