Bug 18316: DBRev 18.06.00.054
[koha.git] / Koha / Schema / Result / CreatorImage.pm
1 use utf8;
2 package Koha::Schema::Result::CreatorImage;
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::CreatorImage
10
11 =cut
12
13 use strict;
14 use warnings;
15
16 use base 'DBIx::Class::Core';
17
18 =head1 TABLE: C<creator_images>
19
20 =cut
21
22 __PACKAGE__->table("creator_images");
23
24 =head1 ACCESSORS
25
26 =head2 image_id
27
28   data_type: 'integer'
29   is_auto_increment: 1
30   is_nullable: 0
31
32 =head2 imagefile
33
34   data_type: 'mediumblob'
35   is_nullable: 1
36
37 =head2 image_name
38
39   data_type: 'char'
40   default_value: 'DEFAULT'
41   is_nullable: 0
42   size: 20
43
44 =cut
45
46 __PACKAGE__->add_columns(
47   "image_id",
48   { data_type => "integer", is_auto_increment => 1, is_nullable => 0 },
49   "imagefile",
50   { data_type => "mediumblob", is_nullable => 1 },
51   "image_name",
52   {
53     data_type => "char",
54     default_value => "DEFAULT",
55     is_nullable => 0,
56     size => 20,
57   },
58 );
59
60 =head1 PRIMARY KEY
61
62 =over 4
63
64 =item * L</image_id>
65
66 =back
67
68 =cut
69
70 __PACKAGE__->set_primary_key("image_id");
71
72 =head1 UNIQUE CONSTRAINTS
73
74 =head2 C<image_name_index>
75
76 =over 4
77
78 =item * L</image_name>
79
80 =back
81
82 =cut
83
84 __PACKAGE__->add_unique_constraint("image_name_index", ["image_name"]);
85
86
87 # Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21
88 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:veljpS1CT3wfNDilccroGg
89
90
91 # You can replace this text with custom content, and it will be preserved on regeneration
92 1;