projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
kein use SL::DB::Object in SL::DB::Object
[kivitendo-erp.git]
/
SL
/
DB
/
MetaSetup
/
AuthGroupRight.pm
diff --git
a/SL/DB/MetaSetup/AuthGroupRight.pm
b/SL/DB/MetaSetup/AuthGroupRight.pm
index
0cf5d72
..
7c98d2a
100644
(file)
--- a/
SL/DB/MetaSetup/AuthGroupRight.pm
+++ b/
SL/DB/MetaSetup/AuthGroupRight.pm
@@
-8,6
+8,7
@@
use base qw(SL::DB::Object);
__PACKAGE__->meta->setup(
table => 'group_rights',
__PACKAGE__->meta->setup(
table => 'group_rights',
+ schema => 'auth',
columns => [
group_id => { type => 'integer', not_null => 1 },
columns => [
group_id => { type => 'integer', not_null => 1 },
@@
-16,6
+17,13
@@
__PACKAGE__->meta->setup(
],
primary_key_columns => [ 'group_id', 'right' ],
],
primary_key_columns => [ 'group_id', 'right' ],
+
+ foreign_keys => [
+ group => {
+ class => 'SL::DB::AuthGroup',
+ key_columns => { group_id => 'id' },
+ },
+ ],
);
1;
);
1;