1 package Koha::Schema::Result::TagsIndex;
3 # Created by DBIx::Class::Schema::Loader
4 # DO NOT MODIFY THE FIRST PART OF THIS FILE
9 use base 'DBIx::Class::Core';
14 Koha::Schema::Result::TagsIndex
18 __PACKAGE__->table("tags_index");
43 __PACKAGE__->add_columns(
45 { data_type => "varchar", is_foreign_key => 1, is_nullable => 0, size => 255 },
47 { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
49 { data_type => "integer", default_value => 1, is_nullable => 0 },
51 __PACKAGE__->set_primary_key("term", "biblionumber");
59 Related object: L<Koha::Schema::Result::TagsApproval>
63 __PACKAGE__->belongs_to(
65 "Koha::Schema::Result::TagsApproval",
67 { on_delete => "CASCADE", on_update => "CASCADE" },
74 Related object: L<Koha::Schema::Result::Biblio>
78 __PACKAGE__->belongs_to(
80 "Koha::Schema::Result::Biblio",
81 { biblionumber => "biblionumber" },
82 { on_delete => "CASCADE", on_update => "CASCADE" },
86 # Created by DBIx::Class::Schema::Loader v0.07000 @ 2013-06-18 13:13:57
87 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:X0OvXQjDYLVCMgHHWx/kpw
90 # You can replace this text with custom content, and it will be preserved on regeneration