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
/
AuthUserConfig.pm
diff --git
a/SL/DB/MetaSetup/AuthUserConfig.pm
b/SL/DB/MetaSetup/AuthUserConfig.pm
index
688998b
..
ef9e348
100644
(file)
--- a/
SL/DB/MetaSetup/AuthUserConfig.pm
+++ b/
SL/DB/MetaSetup/AuthUserConfig.pm
@@
-17,6
+17,13
@@
__PACKAGE__->meta->setup(
],
primary_key_columns => [ 'user_id', 'cfg_key' ],
],
primary_key_columns => [ 'user_id', 'cfg_key' ],
+
+ foreign_keys => [
+ user => {
+ class => 'SL::DB::AuthUser',
+ key_columns => { user_id => 'id' },
+ },
+ ],
);
1;
);
1;