Lines 109-114
__PACKAGE__->table("categories");
Link Here
|
109 |
default_value: -1 |
109 |
default_value: -1 |
110 |
is_nullable: 0 |
110 |
is_nullable: 0 |
111 |
|
111 |
|
|
|
112 |
=head2 canbeguarantee |
113 |
|
114 |
data_type: 'tinyint' |
115 |
default_value: 0 |
116 |
is_nullable: 0 |
117 |
|
112 |
=head2 default_privacy |
118 |
=head2 default_privacy |
113 |
|
119 |
|
114 |
data_type: 'enum' |
120 |
data_type: 'enum' |
Lines 171-176
__PACKAGE__->add_columns(
Link Here
|
171 |
default_value => -1, |
177 |
default_value => -1, |
172 |
is_nullable => 0, |
178 |
is_nullable => 0, |
173 |
}, |
179 |
}, |
|
|
180 |
"canbeguarantee", |
181 |
{ data_type => "tinyint", default_value => 0, is_nullable => 0}, |
174 |
"default_privacy", |
182 |
"default_privacy", |
175 |
{ |
183 |
{ |
176 |
data_type => "enum", |
184 |
data_type => "enum", |
Lines 269-274
__PACKAGE__->has_many(
Link Here
|
269 |
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2019-04-12 02:43:58 |
277 |
# Created by DBIx::Class::Schema::Loader v0.07042 @ 2019-04-12 02:43:58 |
270 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:7rwTH9HuxcdRCBP/bj0d/A |
278 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:7rwTH9HuxcdRCBP/bj0d/A |
271 |
|
279 |
|
|
|
280 |
__PACKAGE__->add_columns( |
281 |
'+canbeguarantee' => { is_boolean => 1 } |
282 |
); |
283 |
|
272 |
sub koha_object_class { |
284 |
sub koha_object_class { |
273 |
'Koha::Patron::Category'; |
285 |
'Koha::Patron::Category'; |
274 |
} |
286 |
} |
275 |
- |
|
|