2 package Koha::Schema::Result::TagsIndex;
4 # Created by DBIx::Class::Schema::Loader
5 # DO NOT MODIFY THE FIRST PART OF THIS FILE
9 Koha::Schema::Result::TagsIndex
16 use base 'DBIx::Class::Core';
18 =head1 TABLE: C<tags_index>
22 __PACKAGE__->table("tags_index");
47 __PACKAGE__->add_columns(
49 { data_type => "varchar", is_foreign_key => 1, is_nullable => 0, size => 191 },
51 { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
53 { data_type => "integer", default_value => 1, is_nullable => 0 },
62 =item * L</biblionumber>
68 __PACKAGE__->set_primary_key("term", "biblionumber");
76 Related object: L<Koha::Schema::Result::Biblio>
80 __PACKAGE__->belongs_to(
82 "Koha::Schema::Result::Biblio",
83 { biblionumber => "biblionumber" },
84 { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
91 Related object: L<Koha::Schema::Result::TagsApproval>
95 __PACKAGE__->belongs_to(
97 "Koha::Schema::Result::TagsApproval",
99 { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
103 # Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-01-18 08:31:57
104 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:ewTrnc9D1jcoyf65+MrSGQ
107 # You can replace this text with custom content, and it will be preserved on regeneration