Bug 11879: DBIC schema changes
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
parent
60685c55c7
commit
fa2d2016ee
|
|
@ -601,6 +601,14 @@ flag for data anonymization
|
|||
|
||||
flag for allowing auto-renewal
|
||||
|
||||
=head2 primary_contact_method
|
||||
|
||||
data_type: 'varchar'
|
||||
is_nullable: 1
|
||||
size: 45
|
||||
|
||||
useful for reporting purposes
|
||||
|
||||
=cut
|
||||
|
||||
__PACKAGE__->add_columns(
|
||||
|
|
@ -787,6 +795,8 @@ __PACKAGE__->add_columns(
|
|||
{ data_type => "tinyint", default_value => 0, is_nullable => 0 },
|
||||
"autorenew_checkouts",
|
||||
{ data_type => "tinyint", default_value => 1, is_nullable => 0 },
|
||||
"primary_contact_method",
|
||||
{ data_type => "varchar", is_nullable => 1, size => 45 },
|
||||
);
|
||||
|
||||
=head1 PRIMARY KEY
|
||||
|
|
@ -1865,8 +1875,8 @@ Composing rels: L</aqorder_users> -> ordernumber
|
|||
__PACKAGE__->many_to_many("ordernumbers", "aqorder_users", "ordernumber");
|
||||
|
||||
|
||||
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-06-07 05:28:03
|
||||
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:CgLzd4URQdNSXTgd7QnFFg
|
||||
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-07-12 13:40:00
|
||||
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:IKPb4912o8oCHtmFAi6FPQ
|
||||
|
||||
__PACKAGE__->add_columns(
|
||||
'+anonymized' => { is_boolean => 1 },
|
||||
|
|
|
|||
|
|
@ -423,6 +423,14 @@ __PACKAGE__->table("borrower_modifications");
|
|||
|
||||
data processing consent
|
||||
|
||||
=head2 primary_contact_method
|
||||
|
||||
data_type: 'varchar'
|
||||
is_nullable: 1
|
||||
size: 45
|
||||
|
||||
useful for reporting purposes
|
||||
|
||||
=cut
|
||||
|
||||
__PACKAGE__->add_columns(
|
||||
|
|
@ -595,6 +603,8 @@ __PACKAGE__->add_columns(
|
|||
datetime_undef_if_invalid => 1,
|
||||
is_nullable => 1,
|
||||
},
|
||||
"primary_contact_method",
|
||||
{ data_type => "varchar", is_nullable => 1, size => 45 },
|
||||
);
|
||||
|
||||
=head1 PRIMARY KEY
|
||||
|
|
@ -612,8 +622,8 @@ __PACKAGE__->add_columns(
|
|||
__PACKAGE__->set_primary_key("verification_token", "borrowernumber");
|
||||
|
||||
|
||||
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-06-07 05:28:03
|
||||
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:JZ6vS5nH8EPc0OL3LQRG+Q
|
||||
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-07-12 13:40:00
|
||||
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:6giYT5URks8+6VnAs/rtkg
|
||||
|
||||
sub koha_object_class {
|
||||
'Koha::Patron::Modification';
|
||||
|
|
|
|||
|
|
@ -598,6 +598,14 @@ flag for data anonymization
|
|||
|
||||
flag for allowing auto-renewal
|
||||
|
||||
=head2 primary_contact_method
|
||||
|
||||
data_type: 'varchar'
|
||||
is_nullable: 1
|
||||
size: 45
|
||||
|
||||
useful for reporting purposes
|
||||
|
||||
=cut
|
||||
|
||||
__PACKAGE__->add_columns(
|
||||
|
|
@ -772,11 +780,13 @@ __PACKAGE__->add_columns(
|
|||
{ data_type => "tinyint", default_value => 0, is_nullable => 0 },
|
||||
"autorenew_checkouts",
|
||||
{ data_type => "tinyint", default_value => 1, is_nullable => 0 },
|
||||
"primary_contact_method",
|
||||
{ data_type => "varchar", is_nullable => 1, size => 45 },
|
||||
);
|
||||
|
||||
|
||||
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-06-07 05:28:04
|
||||
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:/9VjUuilKGDwV/pLlf/4ew
|
||||
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-07-12 13:40:00
|
||||
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:9q8LmKrfO6bAAFaJ4Z3Jrg
|
||||
|
||||
__PACKAGE__->add_columns(
|
||||
'+anonymized' => { is_boolean => 1 },
|
||||
|
|
|
|||
Loading…
Reference in New Issue