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
2d132eb
..
ef9e348
100644
(file)
--- a/
SL/DB/MetaSetup/AuthUserConfig.pm
+++ b/
SL/DB/MetaSetup/AuthUserConfig.pm
@@
-8,6
+8,7
@@
use base qw(SL::DB::Object);
__PACKAGE__->meta->setup(
table => 'user_config',
__PACKAGE__->meta->setup(
table => 'user_config',
+ schema => 'auth',
columns => [
user_id => { type => 'integer', not_null => 1 },
columns => [
user_id => { type => 'integer', not_null => 1 },
@@
-16,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;