kivitendo/SL/DB/MetaSetup/AuthGroupRight.pm @ 79b7fc43
a5ba22d2 | Moritz Bunkus | # This file has been auto-generated. Do not modify it; it will be overwritten
|
||
# by rose_auto_create_model.pl automatically.
|
||||
package SL::DB::AuthGroupRight;
|
||||
use strict;
|
||||
use base qw(SL::DB::Object);
|
||||
b8b112a3 | Sven Schöling | __PACKAGE__->meta->table('group_rights');
|
||
__PACKAGE__->meta->schema('auth');
|
||||
__PACKAGE__->meta->columns(
|
||||
group_id => { type => 'integer', not_null => 1 },
|
||||
right => { type => 'text', not_null => 1 },
|
||||
granted => { type => 'boolean', not_null => 1 },
|
||||
a5ba22d2 | Moritz Bunkus | );
|
||
b8b112a3 | Sven Schöling | __PACKAGE__->meta->primary_key_columns([ 'group_id', 'right' ]);
|
||
__PACKAGE__->meta->foreign_keys(
|
||||
group => {
|
||||
class => 'SL::DB::AuthGroup',
|
||||
key_columns => { group_id => 'id' },
|
||||
},
|
||||
);
|
||||
# __PACKAGE__->meta->initialize;
|
||||
a5ba22d2 | Moritz Bunkus | 1;
|
||
;
|