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

(-)a/Koha/Schema/Result/Virtualshelve.pm (-7 / +11 lines)
Lines 97-102 can owner change contents? Link Here
97
97
98
can others change contents?
98
can others change contents?
99
99
100
=head2 allow_change_from_staff
101
102
  data_type: 'tinyint'
103
  default_value: 0
104
  is_nullable: 1
105
100
=cut
106
=cut
101
107
102
__PACKAGE__->add_columns(
108
__PACKAGE__->add_columns(
Lines 132-137 __PACKAGE__->add_columns( Link Here
132
  { data_type => "tinyint", default_value => 1, is_nullable => 1 },
138
  { data_type => "tinyint", default_value => 1, is_nullable => 1 },
133
  "allow_change_from_others",
139
  "allow_change_from_others",
134
  { data_type => "tinyint", default_value => 0, is_nullable => 1 },
140
  { data_type => "tinyint", default_value => 0, is_nullable => 1 },
141
  "allow_change_from_staff",
142
  { data_type => "tinyint", default_value => 0, is_nullable => 1 },
135
);
143
);
136
144
137
=head1 PRIMARY KEY
145
=head1 PRIMARY KEY
Lines 199-206 __PACKAGE__->has_many( Link Here
199
);
207
);
200
208
201
209
202
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-09-07 11:08:02
210
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2021-11-24 12:55:31
203
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:QH2/kScjb+lwTwrChjem1Q
211
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:vasSog+BlcRyTYFKGhyCIA
204
212
205
sub koha_object_class {
213
sub koha_object_class {
206
    'Koha::Virtualshelf';
214
    'Koha::Virtualshelf';
Lines 209-216 sub koha_objects_class { Link Here
209
    'Koha::Virtualshelves';
217
    'Koha::Virtualshelves';
210
}
218
}
211
219
212
__PACKAGE__->add_columns(
220
# You can replace this text with custom code or comments, and it will be preserved on regeneration
213
    '+public' => { is_boolean => 1 },
214
);
215
216
1;
221
1;
217
- 

Return to bug 26346