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");
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::Borrower>
86 __PACKAGE__->belongs_to(
88 "Koha::Schema::Result::Borrower",
89 { borrowernumber => "borrowernumber" },
90 { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
97 Related object: L<Koha::Schema::Result::BorrowerAttributeType>
101 __PACKAGE__->belongs_to(
103 "Koha::Schema::Result::BorrowerAttributeType",
105 { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
109 # Created by DBIx::Class::Schema::Loader v0.07042 @ 2016-12-08 04:41:27
110 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:EarETnedFsmRmAAJAUrKGg
113 # You can replace this text with custom content, and it will be preserved on regeneration