Bug 21395: Fix creation of PO file
[koha.git] / Koha / Schema / Result / CreatorImage.pm
blob70a669e9332ee1ca55d6bc450a397cd3b1f0db34
1 use utf8;
2 package Koha::Schema::Result::CreatorImage;
4 # Created by DBIx::Class::Schema::Loader
5 # DO NOT MODIFY THE FIRST PART OF THIS FILE
7 =head1 NAME
9 Koha::Schema::Result::CreatorImage
11 =cut
13 use strict;
14 use warnings;
16 use base 'DBIx::Class::Core';
18 =head1 TABLE: C<creator_images>
20 =cut
22 __PACKAGE__->table("creator_images");
24 =head1 ACCESSORS
26 =head2 image_id
28 data_type: 'integer'
29 is_auto_increment: 1
30 is_nullable: 0
32 =head2 imagefile
34 data_type: 'mediumblob'
35 is_nullable: 1
37 =head2 image_name
39 data_type: 'char'
40 default_value: 'DEFAULT'
41 is_nullable: 0
42 size: 20
44 =cut
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",
53 data_type => "char",
54 default_value => "DEFAULT",
55 is_nullable => 0,
56 size => 20,
60 =head1 PRIMARY KEY
62 =over 4
64 =item * L</image_id>
66 =back
68 =cut
70 __PACKAGE__->set_primary_key("image_id");
72 =head1 UNIQUE CONSTRAINTS
74 =head2 C<image_name_index>
76 =over 4
78 =item * L</image_name>
80 =back
82 =cut
84 __PACKAGE__->add_unique_constraint("image_name_index", ["image_name"]);
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
91 # You can replace this text with custom content, and it will be preserved on regeneration