Bug 21395: Fix creation of PO file
[koha.git] / Koha / Schema / Result / UploadedFile.pm
blob5a4397db69b6e3406e960574c1c701a368d86d27
1 use utf8;
2 package Koha::Schema::Result::UploadedFile;
4 # Created by DBIx::Class::Schema::Loader
5 # DO NOT MODIFY THE FIRST PART OF THIS FILE
7 =head1 NAME
9 Koha::Schema::Result::UploadedFile
11 =cut
13 use strict;
14 use warnings;
16 use base 'DBIx::Class::Core';
18 =head1 TABLE: C<uploaded_files>
20 =cut
22 __PACKAGE__->table("uploaded_files");
24 =head1 ACCESSORS
26 =head2 id
28 data_type: 'integer'
29 is_auto_increment: 1
30 is_nullable: 0
32 =head2 hashvalue
34 data_type: 'char'
35 is_nullable: 0
36 size: 40
38 =head2 filename
40 data_type: 'mediumtext'
41 is_nullable: 0
43 =head2 dir
45 data_type: 'mediumtext'
46 is_nullable: 0
48 =head2 filesize
50 data_type: 'integer'
51 is_nullable: 1
53 =head2 dtcreated
55 data_type: 'timestamp'
56 datetime_undef_if_invalid: 1
57 default_value: current_timestamp
58 is_nullable: 0
60 =head2 uploadcategorycode
62 data_type: 'text'
63 is_nullable: 1
65 =head2 owner
67 data_type: 'integer'
68 is_nullable: 1
70 =head2 public
72 data_type: 'tinyint'
73 is_nullable: 1
75 =head2 permanent
77 data_type: 'tinyint'
78 is_nullable: 1
80 =cut
82 __PACKAGE__->add_columns(
83 "id",
84 { data_type => "integer", is_auto_increment => 1, is_nullable => 0 },
85 "hashvalue",
86 { data_type => "char", is_nullable => 0, size => 40 },
87 "filename",
88 { data_type => "mediumtext", is_nullable => 0 },
89 "dir",
90 { data_type => "mediumtext", is_nullable => 0 },
91 "filesize",
92 { data_type => "integer", is_nullable => 1 },
93 "dtcreated",
95 data_type => "timestamp",
96 datetime_undef_if_invalid => 1,
97 default_value => \"current_timestamp",
98 is_nullable => 0,
100 "uploadcategorycode",
101 { data_type => "text", is_nullable => 1 },
102 "owner",
103 { data_type => "integer", is_nullable => 1 },
104 "public",
105 { data_type => "tinyint", is_nullable => 1 },
106 "permanent",
107 { data_type => "tinyint", is_nullable => 1 },
110 =head1 PRIMARY KEY
112 =over 4
114 =item * L</id>
116 =back
118 =cut
120 __PACKAGE__->set_primary_key("id");
123 # Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-02-16 17:54:54
124 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:kJUbIULQMBo3t51HvWC8cg
127 # You can replace this text with custom code or comments, and it will be preserved on regeneration