2 package Koha
::Schema
::Result
::AuthorisedValuesBranch
;
4 # Created by DBIx::Class::Schema::Loader
5 # DO NOT MODIFY THE FIRST PART OF THIS FILE
9 Koha::Schema::Result::AuthorisedValuesBranch
16 use base
'DBIx::Class::Core';
18 =head1 TABLE: C<authorised_values_branches>
22 __PACKAGE__
->table("authorised_values_branches");
41 __PACKAGE__
->add_columns(
43 { data_type
=> "integer", is_foreign_key
=> 1, is_nullable
=> 1 },
45 { data_type
=> "varchar", is_foreign_key
=> 1, is_nullable
=> 1, size
=> 10 },
54 Related object: L<Koha::Schema::Result::AuthorisedValue>
58 __PACKAGE__
->belongs_to(
60 "Koha::Schema::Result::AuthorisedValue",
65 on_delete
=> "CASCADE",
66 on_update
=> "RESTRICT",
74 Related object: L<Koha::Schema::Result::Branch>
78 __PACKAGE__
->belongs_to(
80 "Koha::Schema::Result::Branch",
81 { branchcode
=> "branchcode" },
85 on_delete
=> "CASCADE",
86 on_update
=> "RESTRICT",
91 # Created by DBIx::Class::Schema::Loader v0.07039 @ 2014-07-11 09:26:55
92 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:FlVw5Eu4bXF2ygD0QkwwCg
95 # You can replace this text with custom content, and it will be preserved on regeneration