line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
13
|
|
|
13
|
|
10874
|
use utf8; |
|
13
|
|
|
|
|
31
|
|
|
13
|
|
|
|
|
96
|
|
2
|
|
|
|
|
|
|
package Biblio::Zotero::DB::Schema::Result::ItemCreator; |
3
|
|
|
|
|
|
|
$Biblio::Zotero::DB::Schema::Result::ItemCreator::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
|
|
653
|
use strict; |
|
13
|
|
|
|
|
28
|
|
|
13
|
|
|
|
|
345
|
|
9
|
13
|
|
|
13
|
|
96
|
use warnings; |
|
13
|
|
|
|
|
29
|
|
|
13
|
|
|
|
|
377
|
|
10
|
|
|
|
|
|
|
|
11
|
13
|
|
|
13
|
|
64
|
use base 'DBIx::Class::Core'; |
|
13
|
|
|
|
|
25
|
|
|
13
|
|
|
|
|
3382
|
|
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
__PACKAGE__->table("itemCreators"); |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
__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
|
|
|
|
|
|
|
__PACKAGE__->set_primary_key("itemid", "creatorid", "creatortypeid", "orderindex"); |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
__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
|
|
|
|
|
|
|
__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
|
|
|
|
|
|
|
__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
|
|
|
|
|
|
|
1; |
67
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
__END__ |