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

(-)a/Koha/Schema/Result/Virtualshelve.pm (-13 / +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-216 __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-12 15:10:47
203
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:QH2/kScjb+lwTwrChjem1Q
211
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:BJDEOgpWC5XRKLCYs2cuZw
204
205
sub koha_object_class {
206
    'Koha::Virtualshelf';
207
}
208
sub koha_objects_class {
209
    'Koha::Virtualshelves';
210
}
211
212
212
__PACKAGE__->add_columns(
213
    '+public' => { is_boolean => 1 },
214
);
215
213
214
# You can replace this text with custom code or comments, and it will be preserved on regeneration
216
1;
215
1;
217
- 

Return to bug 26346