line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
13
|
|
|
13
|
|
11680
|
use utf8; |
|
13
|
|
|
|
|
26
|
|
|
13
|
|
|
|
|
92
|
|
2
|
|
|
|
|
|
|
package Biblio::Zotero::DB::Schema::Result::ItemNote; |
3
|
|
|
|
|
|
|
$Biblio::Zotero::DB::Schema::Result::ItemNote::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
|
|
694
|
use strict; |
|
13
|
|
|
|
|
46
|
|
|
13
|
|
|
|
|
372
|
|
9
|
13
|
|
|
13
|
|
74
|
use warnings; |
|
13
|
|
|
|
|
31
|
|
|
13
|
|
|
|
|
379
|
|
10
|
|
|
|
|
|
|
|
11
|
13
|
|
|
13
|
|
96
|
use base 'DBIx::Class::Core'; |
|
13
|
|
|
|
|
24
|
|
|
13
|
|
|
|
|
9029
|
|
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
__PACKAGE__->table("itemNotes"); |
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
|
|
|
|
|
|
|
"sourceitemid", |
26
|
|
|
|
|
|
|
{ data_type => "int", is_foreign_key => 1, is_nullable => 1 }, |
27
|
|
|
|
|
|
|
"note", |
28
|
|
|
|
|
|
|
{ data_type => "text", is_nullable => 1 }, |
29
|
|
|
|
|
|
|
"title", |
30
|
|
|
|
|
|
|
{ data_type => "text", is_nullable => 1 }, |
31
|
|
|
|
|
|
|
); |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
__PACKAGE__->set_primary_key("itemid"); |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
__PACKAGE__->belongs_to( |
38
|
|
|
|
|
|
|
"itemid", |
39
|
|
|
|
|
|
|
"Biblio::Zotero::DB::Schema::Result::Item", |
40
|
|
|
|
|
|
|
{ itemid => "itemid" }, |
41
|
|
|
|
|
|
|
{ is_deferrable => 0, on_delete => "NO ACTION", on_update => "NO ACTION" }, |
42
|
|
|
|
|
|
|
); |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
__PACKAGE__->belongs_to( |
46
|
|
|
|
|
|
|
"sourceitemid", |
47
|
|
|
|
|
|
|
"Biblio::Zotero::DB::Schema::Result::Item", |
48
|
|
|
|
|
|
|
{ itemid => "sourceitemid" }, |
49
|
|
|
|
|
|
|
{ |
50
|
|
|
|
|
|
|
is_deferrable => 0, |
51
|
|
|
|
|
|
|
join_type => "LEFT", |
52
|
|
|
|
|
|
|
on_delete => "NO ACTION", |
53
|
|
|
|
|
|
|
on_update => "NO ACTION", |
54
|
|
|
|
|
|
|
}, |
55
|
|
|
|
|
|
|
); |
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
# Created by DBIx::Class::Schema::Loader v0.07035 @ 2013-07-02 23:02:38 |
59
|
|
|
|
|
|
|
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Hl91IwOfCHsHECt8xtfwOw |
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
# You can replace this text with custom code or comments, and it will be preserved on regeneration |
63
|
|
|
|
|
|
|
1; |
64
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
__END__ |