Bug 13069 - (follow-up) Enable sort by title to ignore articles
[koha.git] / Koha / Schema / Result / SocialData.pm
1 use utf8;
2 package Koha::Schema::Result::SocialData;
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::SocialData
10
11 =cut
12
13 use strict;
14 use warnings;
15
16 use base 'DBIx::Class::Core';
17
18 =head1 TABLE: C<social_data>
19
20 =cut
21
22 __PACKAGE__->table("social_data");
23
24 =head1 ACCESSORS
25
26 =head2 isbn
27
28   data_type: 'varchar'
29   default_value: (empty string)
30   is_nullable: 0
31   size: 30
32
33 =head2 num_critics
34
35   data_type: 'integer'
36   is_nullable: 1
37
38 =head2 num_critics_pro
39
40   data_type: 'integer'
41   is_nullable: 1
42
43 =head2 num_quotations
44
45   data_type: 'integer'
46   is_nullable: 1
47
48 =head2 num_videos
49
50   data_type: 'integer'
51   is_nullable: 1
52
53 =head2 score_avg
54
55   data_type: 'decimal'
56   is_nullable: 1
57   size: [5,2]
58
59 =head2 num_scores
60
61   data_type: 'integer'
62   is_nullable: 1
63
64 =cut
65
66 __PACKAGE__->add_columns(
67   "isbn",
68   { data_type => "varchar", default_value => "", is_nullable => 0, size => 30 },
69   "num_critics",
70   { data_type => "integer", is_nullable => 1 },
71   "num_critics_pro",
72   { data_type => "integer", is_nullable => 1 },
73   "num_quotations",
74   { data_type => "integer", is_nullable => 1 },
75   "num_videos",
76   { data_type => "integer", is_nullable => 1 },
77   "score_avg",
78   { data_type => "decimal", is_nullable => 1, size => [5, 2] },
79   "num_scores",
80   { data_type => "integer", is_nullable => 1 },
81 );
82
83 =head1 PRIMARY KEY
84
85 =over 4
86
87 =item * L</isbn>
88
89 =back
90
91 =cut
92
93 __PACKAGE__->set_primary_key("isbn");
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:Medc/ZzPVp5Eq+adFoqQoA
98
99
100 # You can replace this text with custom content, and it will be preserved on regeneration
101 1;