2 package Koha
::Schema
::Result
::Matchcheck
;
4 # Created by DBIx::Class::Schema::Loader
5 # DO NOT MODIFY THE FIRST PART OF THIS FILE
9 Koha::Schema::Result::Matchcheck
16 use base
'DBIx::Class::Core';
18 =head1 TABLE: C<matchchecks>
22 __PACKAGE__
->table("matchchecks");
38 =head2 source_matchpoint_id
44 =head2 target_matchpoint_id
52 __PACKAGE__
->add_columns(
54 { data_type
=> "integer", is_foreign_key
=> 1, is_nullable
=> 0 },
56 { data_type
=> "integer", is_auto_increment
=> 1, is_nullable
=> 0 },
57 "source_matchpoint_id",
58 { data_type
=> "integer", is_foreign_key
=> 1, is_nullable
=> 0 },
59 "target_matchpoint_id",
60 { data_type
=> "integer", is_foreign_key
=> 1, is_nullable
=> 0 },
67 =item * L</matchcheck_id>
73 __PACKAGE__
->set_primary_key("matchcheck_id");
81 Related object: L<Koha::Schema::Result::MarcMatcher>
85 __PACKAGE__
->belongs_to(
87 "Koha::Schema::Result::MarcMatcher",
88 { matcher_id
=> "matcher_id" },
89 { is_deferrable
=> 1, on_delete
=> "CASCADE", on_update
=> "CASCADE" },
92 =head2 source_matchpoint
96 Related object: L<Koha::Schema::Result::Matchpoint>
100 __PACKAGE__
->belongs_to(
102 "Koha::Schema::Result::Matchpoint",
103 { matchpoint_id
=> "source_matchpoint_id" },
104 { is_deferrable
=> 1, on_delete
=> "CASCADE", on_update
=> "CASCADE" },
107 =head2 target_matchpoint
111 Related object: L<Koha::Schema::Result::Matchpoint>
115 __PACKAGE__
->belongs_to(
117 "Koha::Schema::Result::Matchpoint",
118 { matchpoint_id
=> "target_matchpoint_id" },
119 { is_deferrable
=> 1, on_delete
=> "CASCADE", on_update
=> "CASCADE" },
123 # Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21
124 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:3G4E3DxiD6lCTP7a569BQg
127 # You can replace this text with custom content, and it will be preserved on regeneration