Bug 36755: DBIC schema update

Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
Katrin Fischer 2024-05-10 14:01:40 +00:00
parent a2a2676976
commit dbc7a74427
No known key found for this signature in database
GPG Key ID: 0EF6E2C03357A834
4 changed files with 16 additions and 16 deletions

View File

@ -44,7 +44,7 @@ foreign key from the borrowers table, defines which patron/borrower has this att
data_type: 'varchar'
is_foreign_key: 1
is_nullable: 0
size: 10
size: 64
foreign key from the borrower_attribute_types table, defines which custom field this value was entered for
@ -64,7 +64,7 @@ __PACKAGE__->add_columns(
"borrowernumber",
{ data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
"code",
{ data_type => "varchar", is_foreign_key => 1, is_nullable => 0, size => 10 },
{ data_type => "varchar", is_foreign_key => 1, is_nullable => 0, size => 64 },
"attribute",
{ data_type => "varchar", is_nullable => 1, size => 255 },
);
@ -114,8 +114,8 @@ __PACKAGE__->belongs_to(
);
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-01-21 13:39:29
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:P6K6sqVzIiwOgAAkAjQyiA
# Created by DBIx::Class::Schema::Loader v0.07051 @ 2024-05-10 14:00:56
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:TBNaH57NxoyhytT5cXD/WQ
=head2 borrower_attribute_types

View File

@ -27,7 +27,7 @@ __PACKAGE__->table("borrower_attribute_types");
data_type: 'varchar'
is_nullable: 0
size: 10
size: 64
unique key used to identify each custom field
@ -149,7 +149,7 @@ defines if the attribute is mandatory or not
__PACKAGE__->add_columns(
"code",
{ data_type => "varchar", is_nullable => 0, size => 10 },
{ data_type => "varchar", is_nullable => 0, size => 64 },
"description",
{ data_type => "varchar", is_nullable => 0, size => 255 },
"repeatable",
@ -260,8 +260,8 @@ __PACKAGE__->has_many(
);
# Created by DBIx::Class::Schema::Loader v0.07051 @ 2024-04-30 13:44:48
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:axOBPX4uH+bMVocJK04VXw
# Created by DBIx::Class::Schema::Loader v0.07051 @ 2024-05-10 14:00:56
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:ZmiiXHqRGV2SDb4IgSPvJQ
__PACKAGE__->add_columns(
'+keep_for_pseudonymization' => { is_boolean => 1 },

View File

@ -28,7 +28,7 @@ __PACKAGE__->table("borrower_attribute_types_branches");
data_type: 'varchar'
is_foreign_key: 1
is_nullable: 1
size: 10
size: 64
=head2 b_branchcode
@ -41,7 +41,7 @@ __PACKAGE__->table("borrower_attribute_types_branches");
__PACKAGE__->add_columns(
"bat_code",
{ data_type => "varchar", is_foreign_key => 1, is_nullable => 1, size => 10 },
{ data_type => "varchar", is_foreign_key => 1, is_nullable => 1, size => 64 },
"b_branchcode",
{ data_type => "varchar", is_foreign_key => 1, is_nullable => 1, size => 10 },
);
@ -89,8 +89,8 @@ __PACKAGE__->belongs_to(
);
# Created by DBIx::Class::Schema::Loader v0.07039 @ 2014-07-11 09:26:55
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:MA/VDd/K/RTgZ9TLy0K1gw
# Created by DBIx::Class::Schema::Loader v0.07051 @ 2024-05-10 14:00:56
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:6bldQj5GKHn+g6WNI/p8FA
# You can replace this text with custom content, and it will be preserved on regeneration

View File

@ -42,7 +42,7 @@ Row id field
data_type: 'varchar'
is_foreign_key: 1
is_nullable: 0
size: 10
size: 64
foreign key from the borrower_attribute_types table, defines which custom field this value was entered for
@ -62,7 +62,7 @@ __PACKAGE__->add_columns(
"transaction_id",
{ data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
"code",
{ data_type => "varchar", is_foreign_key => 1, is_nullable => 0, size => 10 },
{ data_type => "varchar", is_foreign_key => 1, is_nullable => 0, size => 64 },
"attribute",
{ data_type => "varchar", is_nullable => 1, size => 255 },
);
@ -112,8 +112,8 @@ __PACKAGE__->belongs_to(
);
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-01-21 13:39:29
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:MFvIdRnRrju9z7J9uurEhQ
# Created by DBIx::Class::Schema::Loader v0.07051 @ 2024-05-10 14:00:56
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:09zbX6WErMxrZSBrc/nvdA
# You can replace this text with custom code or comments, and it will be preserved on regeneration