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");
58 datetime_undef_if_invalid: 1
63 __PACKAGE__->add_columns(
65 { data_type => "integer", is_auto_increment => 1, is_nullable => 0 },
67 { data_type => "integer", is_foreign_key => 1, is_nullable => 1 },
69 { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
71 { data_type => "varchar", is_nullable => 0, size => 191 },
73 { data_type => "integer", is_nullable => 1 },
76 data_type => "datetime",
77 datetime_undef_if_invalid => 1,
92 __PACKAGE__->set_primary_key("tag_id");
100 Related object: L<Koha::Schema::Result::Biblio>
104 __PACKAGE__->belongs_to(
106 "Koha::Schema::Result::Biblio",
107 { biblionumber => "biblionumber" },
108 { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
111 =head2 borrowernumber
115 Related object: L<Koha::Schema::Result::Borrower>
119 __PACKAGE__->belongs_to(
121 "Koha::Schema::Result::Borrower",
122 { borrowernumber => "borrowernumber" },
126 on_delete => "SET NULL",
127 on_update => "CASCADE",
132 # Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-03-15 13:30:04
133 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:3pY7wv0IRmQBSqr+EghQvw
136 # You can replace this text with custom content, and it will be preserved on regeneration