line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
13
|
|
|
13
|
|
10566
|
use utf8; |
|
13
|
|
|
|
|
30
|
|
|
13
|
|
|
|
|
86
|
|
2
|
|
|
|
|
|
|
package Biblio::Zotero::DB::Schema::Result::CustomItemType; |
3
|
|
|
|
|
|
|
$Biblio::Zotero::DB::Schema::Result::CustomItemType::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
|
|
677
|
use strict; |
|
13
|
|
|
|
|
29
|
|
|
13
|
|
|
|
|
533
|
|
9
|
13
|
|
|
13
|
|
70
|
use warnings; |
|
13
|
|
|
|
|
25
|
|
|
13
|
|
|
|
|
367
|
|
10
|
|
|
|
|
|
|
|
11
|
13
|
|
|
13
|
|
69
|
use base 'DBIx::Class::Core'; |
|
13
|
|
|
|
|
126
|
|
|
13
|
|
|
|
|
2898
|
|
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
__PACKAGE__->table("customItemTypes"); |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
__PACKAGE__->add_columns( |
18
|
|
|
|
|
|
|
"customitemtypeid", |
19
|
|
|
|
|
|
|
{ data_type => "integer", is_auto_increment => 1, is_nullable => 0 }, |
20
|
|
|
|
|
|
|
"typename", |
21
|
|
|
|
|
|
|
{ data_type => "text", is_nullable => 1 }, |
22
|
|
|
|
|
|
|
"label", |
23
|
|
|
|
|
|
|
{ data_type => "text", is_nullable => 1 }, |
24
|
|
|
|
|
|
|
"display", |
25
|
|
|
|
|
|
|
{ data_type => "int", default_value => 1, is_nullable => 1 }, |
26
|
|
|
|
|
|
|
"icon", |
27
|
|
|
|
|
|
|
{ data_type => "text", is_nullable => 1 }, |
28
|
|
|
|
|
|
|
); |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
__PACKAGE__->set_primary_key("customitemtypeid"); |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
__PACKAGE__->has_many( |
35
|
|
|
|
|
|
|
"custom_base_field_mappings", |
36
|
|
|
|
|
|
|
"Biblio::Zotero::DB::Schema::Result::CustomBaseFieldMapping", |
37
|
|
|
|
|
|
|
{ "foreign.customitemtypeid" => "self.customitemtypeid" }, |
38
|
|
|
|
|
|
|
{ cascade_copy => 0, cascade_delete => 0 }, |
39
|
|
|
|
|
|
|
); |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
__PACKAGE__->has_many( |
43
|
|
|
|
|
|
|
"custom_item_type_fields", |
44
|
|
|
|
|
|
|
"Biblio::Zotero::DB::Schema::Result::CustomItemTypeField", |
45
|
|
|
|
|
|
|
{ "foreign.customitemtypeid" => "self.customitemtypeid" }, |
46
|
|
|
|
|
|
|
{ cascade_copy => 0, cascade_delete => 0 }, |
47
|
|
|
|
|
|
|
); |
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
# Created by DBIx::Class::Schema::Loader v0.07035 @ 2013-07-02 23:02:38 |
51
|
|
|
|
|
|
|
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:FNBrVKP+GSxz5V03FwMupQ |
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
# You can replace this text with custom code or comments, and it will be preserved on regeneration |
55
|
|
|
|
|
|
|
1; |
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
__END__ |