2 package Koha::Schema::Result::BorrowerAttribute;
4 # Created by DBIx::Class::Schema::Loader
5 # DO NOT MODIFY THE FIRST PART OF THIS FILE
9 Koha::Schema::Result::BorrowerAttribute
16 use base 'DBIx::Class::Core';
18 =head1 TABLE: C<borrower_attributes>
22 __PACKAGE__->table("borrower_attributes");
47 __PACKAGE__->add_columns(
49 { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
51 { data_type => "varchar", is_foreign_key => 1, is_nullable => 0, size => 10 },
53 { data_type => "varchar", is_nullable => 1, size => 255 },
62 Related object: L<Koha::Schema::Result::Borrower>
66 __PACKAGE__->belongs_to(
68 "Koha::Schema::Result::Borrower",
69 { borrowernumber => "borrowernumber" },
70 { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
77 Related object: L<Koha::Schema::Result::BorrowerAttributeType>
81 __PACKAGE__->belongs_to(
83 "Koha::Schema::Result::BorrowerAttributeType",
85 { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
89 # Created by DBIx::Class::Schema::Loader v0.07042 @ 2016-04-25 18:09:15
90 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:GfEFw+6mgaFw6Q8dktPtGw
93 # You can replace this text with custom content, and it will be preserved on regeneration