|
Lines 47-59
name of the list
Link Here
|
| 47 |
|
47 |
|
| 48 |
foreign key linking to the borrowers table (using borrowernumber) for the creator of this list (changed from varchar(80) to int) |
48 |
foreign key linking to the borrowers table (using borrowernumber) for the creator of this list (changed from varchar(80) to int) |
| 49 |
|
49 |
|
| 50 |
=head2 category |
50 |
=head2 public |
| 51 |
|
51 |
|
| 52 |
data_type: 'varchar' |
52 |
data_type: 'tinyint' |
| 53 |
is_nullable: 1 |
53 |
default_value: 0 |
| 54 |
size: 1 |
54 |
is_nullable: 0 |
| 55 |
|
55 |
|
| 56 |
type of list (private [1], public [2]) |
56 |
If the list is public |
| 57 |
|
57 |
|
| 58 |
=head2 sortfield |
58 |
=head2 sortfield |
| 59 |
|
59 |
|
|
Lines 106-113
__PACKAGE__->add_columns(
Link Here
|
| 106 |
{ data_type => "varchar", is_nullable => 1, size => 255 }, |
106 |
{ data_type => "varchar", is_nullable => 1, size => 255 }, |
| 107 |
"owner", |
107 |
"owner", |
| 108 |
{ data_type => "integer", is_foreign_key => 1, is_nullable => 1 }, |
108 |
{ data_type => "integer", is_foreign_key => 1, is_nullable => 1 }, |
| 109 |
"category", |
109 |
"public", |
| 110 |
{ data_type => "varchar", is_nullable => 1, size => 1 }, |
110 |
{ data_type => "tinyint", default_value => 0, is_nullable => 0 }, |
| 111 |
"sortfield", |
111 |
"sortfield", |
| 112 |
{ |
112 |
{ |
| 113 |
data_type => "varchar", |
113 |
data_type => "varchar", |
|
Lines 199-206
__PACKAGE__->has_many(
Link Here
|
| 199 |
); |
199 |
); |
| 200 |
|
200 |
|
| 201 |
|
201 |
|
| 202 |
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-01-21 13:39:29 |
202 |
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-09-07 11:08:02 |
| 203 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:6ZQ6kL/0DzyOMymz+4+LhA |
203 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:QH2/kScjb+lwTwrChjem1Q |
| 204 |
|
204 |
|
| 205 |
sub koha_object_class { |
205 |
sub koha_object_class { |
| 206 |
'Koha::Virtualshelf'; |
206 |
'Koha::Virtualshelf'; |
|
Lines 209-212
sub koha_objects_class {
Link Here
|
| 209 |
'Koha::Virtualshelves'; |
209 |
'Koha::Virtualshelves'; |
| 210 |
} |
210 |
} |
| 211 |
|
211 |
|
|
|
212 |
__PACKAGE__->add_columns( |
| 213 |
'+public' => { is_boolean => 1 }, |
| 214 |
); |
| 215 |
|
| 212 |
1; |
216 |
1; |
| 213 |
- |
|
|