DB/Schema/Result/ItemCreator.pm

filter: Statementstmt 100% 20 / 20 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 4 / 4 Podpod n/a totaltotal 100% 24 / 24 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« DB/Schema/Result/Highlight.pm ↑ Summary DB/Schema/Result/ItemDataValue.pm »
1 13 ▶use utf8;
Subroutine BEGIN: called CC=1 SCAR=0.0
2 package Biblio::Zotero::DB::Schema::Result::ItemCreator;
3 13 $Biblio::Zotero::DB::Schema::Result::ItemCreator::VERSION = '0.004';
4 # Created by DBIx::Class::Schema::Loader
5 # DO NOT MODIFY THE FIRST PART OF THIS FILE
6  
7  
8 13 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
9 13 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
10  
11 13 ▶use base 'DBIx::Class::Core';
Subroutine BEGIN: called CC=1 SCAR=0.0
12  
13  
14 13 __PACKAGE__->table("itemCreators");
15  
16  
17 13 __PACKAGE__->add_columns(
18 "itemid",
19 { data_type => "int", is_foreign_key => 1, is_nullable => 0 },
20 "creatorid",
21 { data_type => "int", is_foreign_key => 1, is_nullable => 0 },
22 "creatortypeid",
23 {
24 data_type => "int",
25 default_value => 1,
26 is_foreign_key => 1,
27 is_nullable => 0,
28 },
29 "orderindex",
30 { data_type => "int", default_value => 0, is_nullable => 0 },
31 );
32  
33  
34 13 __PACKAGE__->set_primary_key("itemid", "creatorid", "creatortypeid", "orderindex");
35  
36  
37 13 __PACKAGE__->belongs_to(
38 "creatorid",
39 "Biblio::Zotero::DB::Schema::Result::Creator",
40 { creatorid => "creatorid" },
41 { is_deferrable => 0, on_delete => "NO ACTION", on_update => "NO ACTION" },
42 );
43  
44  
45 13 __PACKAGE__->belongs_to(
46 "creatortypeid",
47 "Biblio::Zotero::DB::Schema::Result::CreatorType",
48 { creatortypeid => "creatortypeid" },
49 { is_deferrable => 0, on_delete => "NO ACTION", on_update => "NO ACTION" },
50 );
51  
52  
53 13 __PACKAGE__->belongs_to(
54 "itemid",
55 "Biblio::Zotero::DB::Schema::Result::Item",
56 { itemid => "itemid" },
57 { is_deferrable => 0, on_delete => "NO ACTION", on_update => "NO ACTION" },
58 );
59  
60  
61 # Created by DBIx::Class::Schema::Loader v0.07035 @ 2013-07-02 23:02:38
62 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:oeh4tr0CDfowSGh8S3skNg
63  
64  
65 # You can replace this text with custom code or comments, and it will be preserved on regeneration
66 13 1;
67  
68 __END__
« DB/Schema/Result/Highlight.pm ↑ Summary DB/Schema/Result/ItemDataValue.pm »