File Coverage

blib/lib/Biblio/Zotero/DB/Schema/Result/FulltextItem.pm
Criterion Covered Total %
statement 12 12 100.0
branch n/a
condition n/a
subroutine 4 4 100.0
pod n/a
total 16 16 100.0


line stmt bran cond sub pod time code
1 13     13   65674 use utf8;
  13         33  
  13         98  
2             package Biblio::Zotero::DB::Schema::Result::FulltextItem;
3             $Biblio::Zotero::DB::Schema::Result::FulltextItem::VERSION = '0.003';
4             # Created by DBIx::Class::Schema::Loader
5             # DO NOT MODIFY THE FIRST PART OF THIS FILE
6              
7              
8 13     13   756 use strict;
  13         27  
  13         396  
9 13     13   69 use warnings;
  13         25  
  13         409  
10              
11 13     13   129 use base 'DBIx::Class::Core';
  13         48  
  13         3645  
12              
13              
14             __PACKAGE__->table("fulltextItems");
15              
16              
17             __PACKAGE__->add_columns(
18             "itemid",
19             {
20             data_type => "integer",
21             is_auto_increment => 1,
22             is_foreign_key => 1,
23             is_nullable => 0,
24             },
25             "version",
26             { data_type => "int", is_nullable => 1 },
27             "indexedpages",
28             { data_type => "int", is_nullable => 1 },
29             "totalpages",
30             { data_type => "int", is_nullable => 1 },
31             "indexedchars",
32             { data_type => "int", is_nullable => 1 },
33             "totalchars",
34             { data_type => "int", is_nullable => 1 },
35             );
36              
37              
38             __PACKAGE__->set_primary_key("itemid");
39              
40              
41             __PACKAGE__->belongs_to(
42             "itemid",
43             "Biblio::Zotero::DB::Schema::Result::Item",
44             { itemid => "itemid" },
45             { is_deferrable => 0, on_delete => "NO ACTION", on_update => "NO ACTION" },
46             );
47              
48              
49             # Created by DBIx::Class::Schema::Loader v0.07035 @ 2013-07-02 23:02:38
50             # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:RypTVmpTQ1ANlFiSA/H9jg
51              
52              
53             # You can replace this text with custom code or comments, and it will be preserved on regeneration
54             1;
55              
56             __END__