Bug 22532: DBRev 18.12.00.059
[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   is_nullable: 0
30   size: 30
31
32 =head2 num_critics
33
34   data_type: 'integer'
35   is_nullable: 1
36
37 =head2 num_critics_pro
38
39   data_type: 'integer'
40   is_nullable: 1
41
42 =head2 num_quotations
43
44   data_type: 'integer'
45   is_nullable: 1
46
47 =head2 num_videos
48
49   data_type: 'integer'
50   is_nullable: 1
51
52 =head2 score_avg
53
54   data_type: 'decimal'
55   is_nullable: 1
56   size: [5,2]
57
58 =head2 num_scores
59
60   data_type: 'integer'
61   is_nullable: 1
62
63 =cut
64
65 __PACKAGE__->add_columns(
66   "isbn",
67   { data_type => "varchar", is_nullable => 0, size => 30 },
68   "num_critics",
69   { data_type => "integer", is_nullable => 1 },
70   "num_critics_pro",
71   { data_type => "integer", is_nullable => 1 },
72   "num_quotations",
73   { data_type => "integer", is_nullable => 1 },
74   "num_videos",
75   { data_type => "integer", is_nullable => 1 },
76   "score_avg",
77   { data_type => "decimal", is_nullable => 1, size => [5, 2] },
78   "num_scores",
79   { data_type => "integer", is_nullable => 1 },
80 );
81
82 =head1 PRIMARY KEY
83
84 =over 4
85
86 =item * L</isbn>
87
88 =back
89
90 =cut
91
92 __PACKAGE__->set_primary_key("isbn");
93
94
95 # Created by DBIx::Class::Schema::Loader v0.07046 @ 2018-11-13 15:24:28
96 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:l44tYFEfIKX0xXzj6AHInQ
97
98
99 # You can replace this text with custom content, and it will be preserved on regeneration
100 1;