View | Details | Raw Unified | Return to bug 6874
Collapse All | Expand All

(-)a/Koha/Schema/Result/UploadedFile.pm (-1 / +114 lines)
Line 0 Link Here
0
- 
1
use utf8;
2
package Koha::Schema::Result::UploadedFile;
3
4
# Created by DBIx::Class::Schema::Loader
5
# DO NOT MODIFY THE FIRST PART OF THIS FILE
6
7
=head1 NAME
8
9
Koha::Schema::Result::UploadedFile
10
11
=cut
12
13
use strict;
14
use warnings;
15
16
use base 'DBIx::Class::Core';
17
18
=head1 TABLE: C<uploaded_files>
19
20
=cut
21
22
__PACKAGE__->table("uploaded_files");
23
24
=head1 ACCESSORS
25
26
=head2 id
27
28
  data_type: 'integer'
29
  is_auto_increment: 1
30
  is_nullable: 0
31
32
=head2 hashvalue
33
34
  data_type: 'char'
35
  is_nullable: 0
36
  size: 40
37
38
=head2 filename
39
40
  data_type: 'text'
41
  is_nullable: 0
42
43
=head2 dir
44
45
  data_type: 'text'
46
  is_nullable: 0
47
48
=head2 filesize
49
50
  data_type: 'integer'
51
  is_nullable: 1
52
53
=head2 dtcreated
54
55
  data_type: 'timestamp'
56
  datetime_undef_if_invalid: 1
57
  default_value: current_timestamp
58
  is_nullable: 0
59
60
=head2 categorycode
61
62
  data_type: 'tinytext'
63
  is_nullable: 1
64
65
=head2 owner
66
67
  data_type: 'integer'
68
  is_nullable: 1
69
70
=cut
71
72
__PACKAGE__->add_columns(
73
  "id",
74
  { data_type => "integer", is_auto_increment => 1, is_nullable => 0 },
75
  "hashvalue",
76
  { data_type => "char", is_nullable => 0, size => 40 },
77
  "filename",
78
  { data_type => "text", is_nullable => 0 },
79
  "dir",
80
  { data_type => "text", is_nullable => 0 },
81
  "filesize",
82
  { data_type => "integer", is_nullable => 1 },
83
  "dtcreated",
84
  {
85
    data_type => "timestamp",
86
    datetime_undef_if_invalid => 1,
87
    default_value => \"current_timestamp",
88
    is_nullable => 0,
89
  },
90
  "categorycode",
91
  { data_type => "tinytext", is_nullable => 1 },
92
  "owner",
93
  { data_type => "integer", is_nullable => 1 },
94
);
95
96
=head1 PRIMARY KEY
97
98
=over 4
99
100
=item * L</id>
101
102
=back
103
104
=cut
105
106
__PACKAGE__->set_primary_key("id");
107
108
109
# Created by DBIx::Class::Schema::Loader v0.07039 @ 2015-08-07 16:06:37
110
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Ox6orH0SkhCfPdjX24fnZw
111
112
113
# You can replace this text with custom code or comments, and it will be preserved on regeneration
114
1;

Return to bug 6874