Bug 26922: Regression tests
[koha.git] / Koha / Schema / Result / SocialData.pm
blob36cbfbbe175621bb020c76afdddd5f8bbc454bb3
1 use utf8;
2 package Koha::Schema::Result::SocialData;
4 # Created by DBIx::Class::Schema::Loader
5 # DO NOT MODIFY THE FIRST PART OF THIS FILE
7 =head1 NAME
9 Koha::Schema::Result::SocialData
11 =cut
13 use strict;
14 use warnings;
16 use base 'DBIx::Class::Core';
18 =head1 TABLE: C<social_data>
20 =cut
22 __PACKAGE__->table("social_data");
24 =head1 ACCESSORS
26 =head2 isbn
28 data_type: 'varchar'
29 default_value: (empty string)
30 is_nullable: 0
31 size: 30
33 =head2 num_critics
35 data_type: 'integer'
36 is_nullable: 1
38 =head2 num_critics_pro
40 data_type: 'integer'
41 is_nullable: 1
43 =head2 num_quotations
45 data_type: 'integer'
46 is_nullable: 1
48 =head2 num_videos
50 data_type: 'integer'
51 is_nullable: 1
53 =head2 score_avg
55 data_type: 'decimal'
56 is_nullable: 1
57 size: [5,2]
59 =head2 num_scores
61 data_type: 'integer'
62 is_nullable: 1
64 =cut
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 },
83 =head1 PRIMARY KEY
85 =over 4
87 =item * L</isbn>
89 =back
91 =cut
93 __PACKAGE__->set_primary_key("isbn");
96 # Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-05-10 12:02:53
97 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:zu/RochQZmZJZHQJnkLQvg
100 # You can replace this text with custom content, and it will be preserved on regeneration