Bug 40337: DBIC schema changes

Signed-off-by: Eric Garcia <cubingguy714@gmail.com>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
Jonathan Druart 2025-07-10 09:16:23 +02:00 committed by Lucas Gass
parent 3c3cc6622c
commit 51473dfd36
No known key found for this signature in database
GPG Key ID: 60B447398B0D36CA
3 changed files with 18 additions and 18 deletions

View File

@ -582,10 +582,10 @@ controls if relatives can see this patron's checkouts
=head2 checkprevcheckout
data_type: 'varchar'
data_type: 'enum'
default_value: 'inherit'
extra: {list => ["yes","no","inherit"]}
is_nullable: 0
size: 7
produce a warning for this patron if this item has previously been checked out to this patron if 'yes', not if 'no', defer to category setting if 'inherit'.
@ -832,10 +832,10 @@ __PACKAGE__->add_columns(
{ data_type => "tinyint", default_value => 0, is_nullable => 0 },
"checkprevcheckout",
{
data_type => "varchar",
data_type => "enum",
default_value => "inherit",
extra => { list => ["yes", "no", "inherit"] },
is_nullable => 0,
size => 7,
},
"updated_on",
{
@ -2197,8 +2197,8 @@ Composing rels: L</user_permissions> -> permission
__PACKAGE__->many_to_many("permissions", "user_permissions", "permission");
# Created by DBIx::Class::Schema::Loader v0.07051 @ 2025-04-28 16:41:47
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:J1oaW0hFRihEJZ6U+XSwag
# Created by DBIx::Class::Schema::Loader v0.07051 @ 2025-07-10 07:11:31
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:XFOe2X4k2DUziaNS5pWd/Q
__PACKAGE__->belongs_to(
"library",

View File

@ -136,10 +136,10 @@ Default privacy setting for this patron category
=head2 checkprevcheckout
data_type: 'varchar'
data_type: 'enum'
default_value: 'inherit'
extra: {list => ["yes","no","inherit"]}
is_nullable: 0
size: 7
produce a warning for this patron category if this item has previously been checked out to this patron if 'yes', not if 'no', defer to syspref setting if 'inherit'.
@ -274,10 +274,10 @@ __PACKAGE__->add_columns(
},
"checkprevcheckout",
{
data_type => "varchar",
data_type => "enum",
default_value => "inherit",
extra => { list => ["yes", "no", "inherit"] },
is_nullable => 0,
size => 7,
},
"can_place_ill_in_opac",
{ data_type => "tinyint", default_value => 1, is_nullable => 0 },
@ -410,8 +410,8 @@ __PACKAGE__->has_many(
);
# Created by DBIx::Class::Schema::Loader v0.07051 @ 2024-12-03 15:46:23
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:jiQq3bW+ZfdYpUpfZq1Rzw
# Created by DBIx::Class::Schema::Loader v0.07051 @ 2025-07-10 07:11:31
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:ADt+iDjteg9Jb81L2FMIvg
# You can replace this text with custom code or comments, and it will be preserved on regeneration

View File

@ -579,10 +579,10 @@ controls if relatives can see this patron's checkouts
=head2 checkprevcheckout
data_type: 'varchar'
data_type: 'enum'
default_value: 'inherit'
extra: {list => ["yes","no","inherit"]}
is_nullable: 0
size: 7
produce a warning for this patron if this item has previously been checked out to this patron if 'yes', not if 'no', defer to category setting if 'inherit'.
@ -817,10 +817,10 @@ __PACKAGE__->add_columns(
{ data_type => "tinyint", default_value => 0, is_nullable => 0 },
"checkprevcheckout",
{
data_type => "varchar",
data_type => "enum",
default_value => "inherit",
extra => { list => ["yes", "no", "inherit"] },
is_nullable => 0,
size => 7,
},
"updated_on",
{
@ -857,8 +857,8 @@ __PACKAGE__->add_columns(
);
# Created by DBIx::Class::Schema::Loader v0.07051 @ 2025-04-28 16:41:47
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:5QA+/eORyEKhkG++0f3Hvw
# Created by DBIx::Class::Schema::Loader v0.07051 @ 2025-07-10 07:11:31
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:vAkNNQagJcYfZ0/6mDOw8g
__PACKAGE__->add_columns(
'+anonymized' => { is_boolean => 1 },