Bug 39835: DBIC schema update

Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
Katrin Fischer 2025-05-06 16:23:28 +00:00
parent 095f5a2c14
commit b2636dee8a
No known key found for this signature in database
GPG Key ID: 0EF6E2C03357A834
4 changed files with 26 additions and 28 deletions

View File

@ -49,13 +49,13 @@ __PACKAGE__->table("columns_settings");
=head2 cannot_be_toggled
data_type: 'integer'
data_type: 'tinyint'
default_value: 0
is_nullable: 0
=head2 is_hidden
data_type: 'integer'
data_type: 'tinyint'
default_value: 0
is_nullable: 0
@ -71,9 +71,9 @@ __PACKAGE__->add_columns(
"columnname",
{ data_type => "varchar", is_nullable => 0, size => 255 },
"cannot_be_toggled",
{ data_type => "integer", default_value => 0, is_nullable => 0 },
{ data_type => "tinyint", default_value => 0, is_nullable => 0 },
"is_hidden",
{ data_type => "integer", default_value => 0, is_nullable => 0 },
{ data_type => "tinyint", default_value => 0, is_nullable => 0 },
);
=head1 PRIMARY KEY
@ -95,8 +95,8 @@ __PACKAGE__->add_columns(
__PACKAGE__->set_primary_key("module", "page", "tablename", "columnname");
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-12-12 16:06:36
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:IhREpW2PRxxFF9EYOGt2Qg
# Created by DBIx::Class::Schema::Loader v0.07051 @ 2025-05-06 16:22:12
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:R8o+1pqMYgYJE/eXivpn1w
__PACKAGE__->add_columns(
'+cannot_be_toggled' => { is_boolean => 1 },

View File

@ -146,7 +146,7 @@ date the item was checked out or issued
=head2 onsite_checkout
data_type: 'integer'
data_type: 'tinyint'
default_value: 0
is_nullable: 0
@ -169,7 +169,7 @@ datetime of issue note (yyyy-mm-dd hh:mm::ss)
=head2 noteseen
data_type: 'integer'
data_type: 'tinyint'
is_nullable: 1
describes whether checkout note has been seen 1, not been seen 0 or doesn't exist null
@ -229,7 +229,7 @@ __PACKAGE__->add_columns(
is_nullable => 1,
},
"onsite_checkout",
{ data_type => "integer", default_value => 0, is_nullable => 0 },
{ data_type => "tinyint", default_value => 0, is_nullable => 0 },
"note",
{ data_type => "longtext", is_nullable => 1 },
"notedate",
@ -239,7 +239,7 @@ __PACKAGE__->add_columns(
is_nullable => 1,
},
"noteseen",
{ data_type => "integer", is_nullable => 1 },
{ data_type => "tinyint", is_nullable => 1 },
);
=head1 PRIMARY KEY
@ -336,8 +336,8 @@ __PACKAGE__->belongs_to(
);
# Created by DBIx::Class::Schema::Loader v0.07051 @ 2024-11-14 13:08:04
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Azy+cns0/GJMwsXWJdkolg
# Created by DBIx::Class::Schema::Loader v0.07051 @ 2025-05-06 16:22:12
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:sCGlwnT9B7Mn1k80Gme6hw
__PACKAGE__->add_columns(
'+auto_renew' => { is_boolean => 1 },

View File

@ -145,7 +145,7 @@ date the item was checked out or issued
=head2 onsite_checkout
data_type: 'integer'
data_type: 'tinyint'
default_value: 0
is_nullable: 0
@ -168,7 +168,7 @@ datetime of issue note (yyyy-mm-dd hh:mm::ss)
=head2 noteseen
data_type: 'integer'
data_type: 'tinyint'
is_nullable: 1
describes whether checkout note has been seen 1, not been seen 0 or doesn't exist null
@ -228,7 +228,7 @@ __PACKAGE__->add_columns(
is_nullable => 1,
},
"onsite_checkout",
{ data_type => "integer", default_value => 0, is_nullable => 0 },
{ data_type => "tinyint", default_value => 0, is_nullable => 0 },
"note",
{ data_type => "longtext", is_nullable => 1 },
"notedate",
@ -238,7 +238,7 @@ __PACKAGE__->add_columns(
is_nullable => 1,
},
"noteseen",
{ data_type => "integer", is_nullable => 1 },
{ data_type => "tinyint", is_nullable => 1 },
);
=head1 PRIMARY KEY
@ -331,8 +331,8 @@ __PACKAGE__->belongs_to(
);
# Created by DBIx::Class::Schema::Loader v0.07051 @ 2024-11-14 13:08:04
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:bA69lRnTfAccileHjykFgw
# Created by DBIx::Class::Schema::Loader v0.07051 @ 2025-05-06 16:22:12
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:bO+nRkR4QDXrb5wmEOz9mw
__PACKAGE__->add_columns(
'+auto_renew' => { is_boolean => 1 },

View File

@ -66,10 +66,9 @@ foreign key from the letter table to define which notice should be sent as the f
=head2 debarred1
data_type: 'varchar'
data_type: 'tinyint'
default_value: 0
is_nullable: 1
size: 1
is the patron restricted when the first notice is sent (1 for yes, 0 for no)
@ -82,10 +81,9 @@ number of days after the item is overdue that the second notice is sent
=head2 debarred2
data_type: 'varchar'
data_type: 'tinyint'
default_value: 0
is_nullable: 1
size: 1
is the patron restricted when the second notice is sent (1 for yes, 0 for no)
@ -114,7 +112,7 @@ foreign key from the letter table to define which notice should be sent as the t
=head2 debarred3
data_type: 'integer'
data_type: 'tinyint'
default_value: 0
is_nullable: 1
@ -134,11 +132,11 @@ __PACKAGE__->add_columns(
"letter1",
{ data_type => "varchar", is_nullable => 1, size => 20 },
"debarred1",
{ data_type => "varchar", default_value => 0, is_nullable => 1, size => 1 },
{ data_type => "tinyint", default_value => 0, is_nullable => 1 },
"delay2",
{ data_type => "integer", is_nullable => 1 },
"debarred2",
{ data_type => "varchar", default_value => 0, is_nullable => 1, size => 1 },
{ data_type => "tinyint", default_value => 0, is_nullable => 1 },
"letter2",
{ data_type => "varchar", is_nullable => 1, size => 20 },
"delay3",
@ -146,7 +144,7 @@ __PACKAGE__->add_columns(
"letter3",
{ data_type => "varchar", is_nullable => 1, size => 20 },
"debarred3",
{ data_type => "integer", default_value => 0, is_nullable => 1 },
{ data_type => "tinyint", default_value => 0, is_nullable => 1 },
);
=head1 PRIMARY KEY
@ -195,8 +193,8 @@ __PACKAGE__->has_many(
);
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-01-21 13:39:29
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:pORigxtC5qztZWHI29mZ/g
# Created by DBIx::Class::Schema::Loader v0.07051 @ 2025-05-06 16:22:12
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:/1ZL98jFwZ5PyG4sYSziiA
__PACKAGE__->add_columns(
'+debarred1' => { is_boolean => 1 },