Bug 8798: DBIx::Class base classes for all Koha tables
[koha.git] / Koha / Schema / Result / Tag.pm
1 package Koha::Schema::Result::Tag;
2
3 # Created by DBIx::Class::Schema::Loader
4 # DO NOT MODIFY THE FIRST PART OF THIS FILE
5
6 use strict;
7 use warnings;
8
9 use base 'DBIx::Class::Core';
10
11
12 =head1 NAME
13
14 Koha::Schema::Result::Tag
15
16 =cut
17
18 __PACKAGE__->table("tags");
19
20 =head1 ACCESSORS
21
22 =head2 entry
23
24   data_type: 'varchar'
25   default_value: (empty string)
26   is_nullable: 0
27   size: 255
28
29 =head2 weight
30
31   data_type: 'bigint'
32   default_value: 0
33   is_nullable: 0
34
35 =cut
36
37 __PACKAGE__->add_columns(
38   "entry",
39   { data_type => "varchar", default_value => "", is_nullable => 0, size => 255 },
40   "weight",
41   { data_type => "bigint", default_value => 0, is_nullable => 0 },
42 );
43 __PACKAGE__->set_primary_key("entry");
44
45
46 # Created by DBIx::Class::Schema::Loader v0.07000 @ 2012-09-02 08:44:15
47 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:c4CkWGECpxog9RqQrxw1Gg
48
49
50 # You can replace this text with custom content, and it will be preserved on regeneration
51 1;