Bug 13069 - (follow-up) Enable sort by title to ignore articles
[koha.git] / Koha / Schema / Result / Message.pm
1 use utf8;
2 package Koha::Schema::Result::Message;
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::Message
10
11 =cut
12
13 use strict;
14 use warnings;
15
16 use base 'DBIx::Class::Core';
17
18 =head1 TABLE: C<messages>
19
20 =cut
21
22 __PACKAGE__->table("messages");
23
24 =head1 ACCESSORS
25
26 =head2 message_id
27
28   data_type: 'integer'
29   is_auto_increment: 1
30   is_nullable: 0
31
32 =head2 borrowernumber
33
34   data_type: 'integer'
35   is_nullable: 0
36
37 =head2 branchcode
38
39   data_type: 'varchar'
40   is_nullable: 1
41   size: 10
42
43 =head2 message_type
44
45   data_type: 'varchar'
46   is_nullable: 0
47   size: 1
48
49 =head2 message
50
51   data_type: 'text'
52   is_nullable: 0
53
54 =head2 message_date
55
56   data_type: 'timestamp'
57   datetime_undef_if_invalid: 1
58   default_value: current_timestamp
59   is_nullable: 0
60
61 =cut
62
63 __PACKAGE__->add_columns(
64   "message_id",
65   { data_type => "integer", is_auto_increment => 1, is_nullable => 0 },
66   "borrowernumber",
67   { data_type => "integer", is_nullable => 0 },
68   "branchcode",
69   { data_type => "varchar", is_nullable => 1, size => 10 },
70   "message_type",
71   { data_type => "varchar", is_nullable => 0, size => 1 },
72   "message",
73   { data_type => "text", is_nullable => 0 },
74   "message_date",
75   {
76     data_type => "timestamp",
77     datetime_undef_if_invalid => 1,
78     default_value => \"current_timestamp",
79     is_nullable => 0,
80   },
81 );
82
83 =head1 PRIMARY KEY
84
85 =over 4
86
87 =item * L</message_id>
88
89 =back
90
91 =cut
92
93 __PACKAGE__->set_primary_key("message_id");
94
95
96 # Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21
97 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:iq+Uo9eMnkDgUQsRR6VFUA
98
99
100 # You can replace this text with custom content, and it will be preserved on regeneration
101 1;