File Coverage

blib/lib/Biblio/Zotero/DB/Schema/Result/FulltextWord.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   11441 use utf8;
  13         30  
  13         110  
2             package Biblio::Zotero::DB::Schema::Result::FulltextWord;
3             $Biblio::Zotero::DB::Schema::Result::FulltextWord::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   658 use strict;
  13         27  
  13         387  
9 13     13   65 use warnings;
  13         27  
  13         369  
10              
11 13     13   73 use base 'DBIx::Class::Core';
  13         26  
  13         2840  
12              
13              
14             __PACKAGE__->table("fulltextWords");
15              
16              
17             __PACKAGE__->add_columns(
18             "wordid",
19             { data_type => "integer", is_auto_increment => 1, is_nullable => 0 },
20             "word",
21             { data_type => "text", is_nullable => 1 },
22             );
23              
24              
25             __PACKAGE__->set_primary_key("wordid");
26              
27              
28             __PACKAGE__->add_unique_constraint("word_unique", ["word"]);
29              
30              
31             __PACKAGE__->has_many(
32             "fulltext_item_words",
33             "Biblio::Zotero::DB::Schema::Result::FulltextItemWord",
34             { "foreign.wordid" => "self.wordid" },
35             { cascade_copy => 0, cascade_delete => 0 },
36             );
37              
38              
39             __PACKAGE__->many_to_many("itemids", "fulltext_item_words", "itemid");
40              
41              
42             # Created by DBIx::Class::Schema::Loader v0.07035 @ 2013-07-02 23:02:38
43             # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:oNp29KcfqOGdexKYtNygew
44              
45              
46             # You can replace this text with custom code or comments, and it will be preserved on regeneration
47             1;
48              
49             __END__