2 package Koha::Schema::Result::TagAll;
4 # Created by DBIx::Class::Schema::Loader
5 # DO NOT MODIFY THE FIRST PART OF THIS FILE
9 Koha::Schema::Result::TagAll
16 use base 'DBIx::Class::Core';
18 =head1 TABLE: C<tags_all>
22 __PACKAGE__->table("tags_all");
32 unique id and primary key
40 the patron who added the tag (borrowers.borrowernumber)
48 the bib record this tag was left on (biblio.biblionumber)
63 the language the tag was left in
68 datetime_undef_if_invalid: 1
71 the date the tag was added
75 __PACKAGE__->add_columns(
77 { data_type => "integer", is_auto_increment => 1, is_nullable => 0 },
79 { data_type => "integer", is_foreign_key => 1, is_nullable => 1 },
81 { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
83 { data_type => "varchar", is_nullable => 0, size => 191 },
85 { data_type => "integer", is_nullable => 1 },
88 data_type => "datetime",
89 datetime_undef_if_invalid => 1,
104 __PACKAGE__->set_primary_key("tag_id");
112 Related object: L<Koha::Schema::Result::Biblio>
116 __PACKAGE__->belongs_to(
118 "Koha::Schema::Result::Biblio",
119 { biblionumber => "biblionumber" },
120 { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
123 =head2 borrowernumber
127 Related object: L<Koha::Schema::Result::Borrower>
131 __PACKAGE__->belongs_to(
133 "Koha::Schema::Result::Borrower",
134 { borrowernumber => "borrowernumber" },
138 on_delete => "SET NULL",
139 on_update => "CASCADE",
144 # Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-01-21 13:39:29
145 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:qQsYlIAUc1KP7M/RUaqd8g
147 sub koha_object_class {
150 sub koha_objects_class {