2 package Koha
::Schema
::Result
::Userflag
;
4 # Created by DBIx::Class::Schema::Loader
5 # DO NOT MODIFY THE FIRST PART OF THIS FILE
9 Koha::Schema::Result::Userflag
16 use base
'DBIx::Class::Core';
18 =head1 TABLE: C<userflags>
22 __PACKAGE__
->table("userflags");
51 __PACKAGE__
->add_columns(
53 { data_type
=> "integer", default_value
=> 0, is_nullable
=> 0 },
55 { data_type
=> "varchar", is_nullable
=> 1, size
=> 30 },
57 { data_type
=> "varchar", is_nullable
=> 1, size
=> 255 },
59 { data_type
=> "integer", is_nullable
=> 1 },
72 __PACKAGE__
->set_primary_key("bit");
80 Related object: L<Koha::Schema::Result::Permission>
84 __PACKAGE__
->has_many(
86 "Koha::Schema::Result::Permission",
87 { "foreign.module_bit" => "self.bit" },
88 { cascade_copy
=> 0, cascade_delete
=> 0 },
92 # Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21
93 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:A4wiP/AM/pdmYrJmuiYIYg
96 # You can replace this text with custom content, and it will be preserved on regeneration