Bug 36396: DBIC schema changes

Sponsored-by: The Research University in the Helmholtz Association (KIT)
Signed-off-by: Lukas Koszyk <lukasz.koszyk@kit.edu>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
Jonathan Druart 2024-03-21 15:51:44 +01:00 committed by Katrin Fischer
parent a3887fe12a
commit 58d097d2aa
No known key found for this signature in database
GPG Key ID: 0EF6E2C03357A834
1 changed files with 12 additions and 2 deletions

View File

@ -85,6 +85,14 @@ the order place of the field in facet list if faceted
if marked this field is not editable or removable
=head2 authorised_value_category
data_type: 'varchar'
is_nullable: 1
size: 32
link to authorised value category
=cut
__PACKAGE__->add_columns(
@ -124,6 +132,8 @@ __PACKAGE__->add_columns(
{ data_type => "tinyint", default_value => 1, is_nullable => 0 },
"mandatory",
{ data_type => "tinyint", is_nullable => 1 },
"authorised_value_category",
{ data_type => "varchar", is_nullable => 1, size => 32 },
);
=head1 PRIMARY KEY
@ -170,8 +180,8 @@ __PACKAGE__->has_many(
);
# Created by DBIx::Class::Schema::Loader v0.07051 @ 2024-04-30 09:10:16
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:NE6QXq/8skTxjjoK15fYrg
# Created by DBIx::Class::Schema::Loader v0.07051 @ 2024-05-07 09:45:57
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:/WPJEu04y32zDMr+vnK5og
__PACKAGE__->add_columns(
'+mandatory' => { is_boolean => 1 },