Revision 1ee23a2d
Von Moritz Bunkus vor mehr als 11 Jahren hinzugefügt
SL/DB/MetaSetup/AuthGroupRight.pm | ||
---|---|---|
17 | 17 |
], |
18 | 18 |
|
19 | 19 |
primary_key_columns => [ 'group_id', 'right' ], |
20 |
|
|
21 |
foreign_keys => [ |
|
22 |
group => { |
|
23 |
class => 'SL::DB::AuthGroup', |
|
24 |
key_columns => { group_id => 'id' }, |
|
25 |
}, |
|
26 |
], |
|
20 | 27 |
); |
21 | 28 |
|
22 | 29 |
1; |
SL/DB/MetaSetup/AuthUserConfig.pm | ||
---|---|---|
17 | 17 |
], |
18 | 18 |
|
19 | 19 |
primary_key_columns => [ 'user_id', 'cfg_key' ], |
20 |
|
|
21 |
foreign_keys => [ |
|
22 |
user => { |
|
23 |
class => 'SL::DB::AuthUser', |
|
24 |
key_columns => { user_id => 'id' }, |
|
25 |
}, |
|
26 |
], |
|
20 | 27 |
); |
21 | 28 |
|
22 | 29 |
1; |
SL/DB/MetaSetup/AuthUserGroup.pm | ||
---|---|---|
18 | 18 |
primary_key_columns => [ 'user_id', 'group_id' ], |
19 | 19 |
|
20 | 20 |
foreign_keys => [ |
21 |
user => { |
|
22 |
class => 'SL::DB::AuthUser', |
|
23 |
key_columns => { user_id => 'id' }, |
|
24 |
}, |
|
25 |
|
|
26 | 21 |
group => { |
27 | 22 |
class => 'SL::DB::AuthGroup', |
28 | 23 |
key_columns => { group_id => 'id' }, |
29 | 24 |
}, |
25 |
|
|
26 |
user => { |
|
27 |
class => 'SL::DB::AuthUser', |
|
28 |
key_columns => { user_id => 'id' }, |
|
29 |
}, |
|
30 | 30 |
], |
31 | 31 |
); |
32 | 32 |
|
Auch abrufbar als: Unified diff
Rose-Schema für auth.*-Tabellen aktualisiert