X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=SL%2FDB%2FMetaSetup%2FAuthGroupRight.pm;fp=SL%2FDB%2FMetaSetup%2FAuthGroupRight.pm;h=92c4db3e149f58a55c5fc56f974cd0cf9f774425;hb=53593baa211863fbf66540cf1bcc36c8fb37257f;hp=1befd3180fbc9a7449b1c5f56079f1d1503fb8cf;hpb=deb4d2dbb676d7d6f69dfe7815d6e0cb09bd4a44;p=kivitendo-erp.git diff --git a/SL/DB/MetaSetup/AuthGroupRight.pm b/SL/DB/MetaSetup/AuthGroupRight.pm index 1befd3180..92c4db3e1 100644 --- a/SL/DB/MetaSetup/AuthGroupRight.pm +++ b/SL/DB/MetaSetup/AuthGroupRight.pm @@ -4,15 +4,15 @@ package SL::DB::AuthGroupRight; use strict; -use base qw(SL::DB::Object); +use parent qw(SL::DB::Object); __PACKAGE__->meta->table('group_rights'); __PACKAGE__->meta->schema('auth'); __PACKAGE__->meta->columns( + granted => { type => 'boolean', not_null => 1 }, group_id => { type => 'integer', not_null => 1 }, right => { type => 'text', not_null => 1 }, - granted => { type => 'boolean', not_null => 1 }, ); __PACKAGE__->meta->primary_key_columns([ 'group_id', 'right' ]); @@ -24,7 +24,5 @@ __PACKAGE__->meta->foreign_keys( }, ); -# __PACKAGE__->meta->initialize; - 1; ;