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

(-)a/Koha/Schema/Result/AdditionalField.pm (-2 / +12 lines)
Lines 84-89 mode of operation (get or set) for marcfield Link Here
84
84
85
is the field searchable?
85
is the field searchable?
86
86
87
=head2 repeatable
88
89
  data_type: 'tinyint'
90
  default_value: 0
91
  is_nullable: 0
92
93
is the field repeatable?
94
87
=cut
95
=cut
88
96
89
__PACKAGE__->add_columns(
97
__PACKAGE__->add_columns(
Lines 106-111 __PACKAGE__->add_columns( Link Here
106
  },
114
  },
107
  "searchable",
115
  "searchable",
108
  { data_type => "tinyint", default_value => 0, is_nullable => 0 },
116
  { data_type => "tinyint", default_value => 0, is_nullable => 0 },
117
  "repeatable",
118
  { data_type => "tinyint", default_value => 0, is_nullable => 0 },
109
);
119
);
110
120
111
=head1 PRIMARY KEY
121
=head1 PRIMARY KEY
Lines 154-161 __PACKAGE__->has_many( Link Here
154
);
164
);
155
165
156
166
157
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2023-05-15 17:35:48
167
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2023-10-12 13:43:00
158
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:q1mpEq5S0nZAOVXHqz+hEQ
168
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:3HuOXYOGUUoNtVAgAWqu8Q
159
169
160
170
161
# You can replace this text with custom code or comments, and it will be preserved on regeneration
171
# You can replace this text with custom code or comments, and it will be preserved on regeneration
(-)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