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

(-)a/Koha/Schema/Result/AdditionalField.pm (+10 lines)
Lines 83-88 mode of operation (get or set) for marcfield Link Here
83
83
84
is the field searchable?
84
is the field searchable?
85
85
86
=head2 repeatable
87
88
  data_type: 'tinyint'
89
  default_value: 0
90
  is_nullable: 0
91
92
is the field repeatable?
93
86
=cut
94
=cut
87
95
88
__PACKAGE__->add_columns(
96
__PACKAGE__->add_columns(
Lines 105-110 __PACKAGE__->add_columns( Link Here
105
  },
113
  },
106
  "searchable",
114
  "searchable",
107
  { data_type => "tinyint", default_value => 0, is_nullable => 0 },
115
  { data_type => "tinyint", default_value => 0, is_nullable => 0 },
116
  "repeatable",
117
  { data_type => "tinyint", default_value => 0, is_nullable => 0 },
108
);
118
);
109
119
110
=head1 PRIMARY KEY
120
=head1 PRIMARY KEY
(-)a/Koha/Schema/Result/AdditionalFieldValue.pm (-19 / +2 lines)
Lines 80-101 __PACKAGE__->add_columns( Link Here
80
80
81
__PACKAGE__->set_primary_key("id");
81
__PACKAGE__->set_primary_key("id");
82
82
83
=head1 UNIQUE CONSTRAINTS
84
85
=head2 C<field_record>
86
87
=over 4
88
89
=item * L</field_id>
90
91
=item * L</record_id>
92
93
=back
94
95
=cut
96
97
__PACKAGE__->add_unique_constraint("field_record", ["field_id", "record_id"]);
98
99
=head1 RELATIONS
83
=head1 RELATIONS
100
84
101
=head2 field
85
=head2 field
Lines 114-121 __PACKAGE__->belongs_to( Link Here
114
);
98
);
115
99
116
100
117
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-01-21 13:39:29
101
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2023-10-12 13:43:00
118
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:6Y4sBMbKYSbGN7fAy7OhEQ
102
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:pNawYmJgeb/tIo17nLM/Zw
119
103
120
104
121
# You can replace this text with custom code or comments, and it will be preserved on regeneration
105
# You can replace this text with custom code or comments, and it will be preserved on regeneration
122
- 

Return to bug 35044