Merge branch 'b-3.6.1' of ../kivitendo-erp_20220811
[kivitendo-erp.git] / SL / DB / MetaSetup / AuthGroupRight.pm
index 1befd31..92c4db3 100644 (file)
@@ -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;
 ;