line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
13
|
|
|
13
|
|
11140
|
use utf8; |
|
13
|
|
|
|
|
29
|
|
|
13
|
|
|
|
|
146
|
|
2
|
|
|
|
|
|
|
package Biblio::Zotero::DB::Schema::Result::FileType; |
3
|
|
|
|
|
|
|
$Biblio::Zotero::DB::Schema::Result::FileType::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
|
|
731
|
use strict; |
|
13
|
|
|
|
|
27
|
|
|
13
|
|
|
|
|
370
|
|
9
|
13
|
|
|
13
|
|
79
|
use warnings; |
|
13
|
|
|
|
|
27
|
|
|
13
|
|
|
|
|
352
|
|
10
|
|
|
|
|
|
|
|
11
|
13
|
|
|
13
|
|
76
|
use base 'DBIx::Class::Core'; |
|
13
|
|
|
|
|
28
|
|
|
13
|
|
|
|
|
2677
|
|
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
__PACKAGE__->table("fileTypes"); |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
__PACKAGE__->add_columns( |
18
|
|
|
|
|
|
|
"filetypeid", |
19
|
|
|
|
|
|
|
{ data_type => "integer", is_auto_increment => 1, is_nullable => 0 }, |
20
|
|
|
|
|
|
|
"filetype", |
21
|
|
|
|
|
|
|
{ data_type => "text", is_nullable => 1 }, |
22
|
|
|
|
|
|
|
); |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
__PACKAGE__->set_primary_key("filetypeid"); |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
__PACKAGE__->add_unique_constraint("filetype_unique", ["filetype"]); |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
__PACKAGE__->has_many( |
32
|
|
|
|
|
|
|
"file_type_mime_types", |
33
|
|
|
|
|
|
|
"Biblio::Zotero::DB::Schema::Result::FileTypeMimeType", |
34
|
|
|
|
|
|
|
{ "foreign.filetypeid" => "self.filetypeid" }, |
35
|
|
|
|
|
|
|
{ cascade_copy => 0, cascade_delete => 0 }, |
36
|
|
|
|
|
|
|
); |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
# Created by DBIx::Class::Schema::Loader v0.07035 @ 2013-07-02 23:02:38 |
40
|
|
|
|
|
|
|
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Q3LfBNZATFhcUdoOt4aepw |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
# You can replace this text with custom code or comments, and it will be preserved on regeneration |
44
|
|
|
|
|
|
|
1; |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
__END__ |