1 package Koha::Schema::Result::Userflag;
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::Userflag
18 __PACKAGE__->table("userflags");
47 __PACKAGE__->add_columns(
49 { data_type => "integer", default_value => 0, is_nullable => 0 },
51 { data_type => "varchar", is_nullable => 1, size => 30 },
53 { data_type => "varchar", is_nullable => 1, size => 255 },
55 { data_type => "integer", is_nullable => 1 },
57 __PACKAGE__->set_primary_key("bit");
65 Related object: L<Koha::Schema::Result::Permission>
69 __PACKAGE__->has_many(
71 "Koha::Schema::Result::Permission",
72 { "foreign.module_bit" => "self.bit" },
73 { cascade_copy => 0, cascade_delete => 0 },
77 # Created by DBIx::Class::Schema::Loader v0.07000 @ 2012-09-02 08:44:15
78 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:7eKK9jZ+GryvazfRyKOIBw
81 # You can replace this text with custom content, and it will be preserved on regeneration