2 package Koha::Schema::Result::PseudonymizedBorrowerAttribute;
4 # Created by DBIx::Class::Schema::Loader
5 # DO NOT MODIFY THE FIRST PART OF THIS FILE
9 Koha::Schema::Result::PseudonymizedBorrowerAttribute
16 use base 'DBIx::Class::Core';
18 =head1 TABLE: C<pseudonymized_borrower_attributes>
22 __PACKAGE__->table("pseudonymized_borrower_attributes");
53 __PACKAGE__->add_columns(
55 { data_type => "integer", is_auto_increment => 1, is_nullable => 0 },
57 { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
59 { data_type => "varchar", is_foreign_key => 1, is_nullable => 0, size => 10 },
61 { data_type => "varchar", is_nullable => 1, size => 255 },
74 __PACKAGE__->set_primary_key("id");
82 Related object: L<Koha::Schema::Result::BorrowerAttributeType>
86 __PACKAGE__->belongs_to(
88 "Koha::Schema::Result::BorrowerAttributeType",
90 { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
97 Related object: L<Koha::Schema::Result::PseudonymizedTransaction>
101 __PACKAGE__->belongs_to(
103 "Koha::Schema::Result::PseudonymizedTransaction",
104 { id => "transaction_id" },
105 { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
109 # Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-01-11 17:12:17
110 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:q6CTb8kq83p1bEM+ilfAww
113 # You can replace this text with custom code or comments, and it will be preserved on regeneration