],
primary_key_columns => [ 'group_id', 'right' ],
+
+ foreign_keys => [
+ group => {
+ class => 'SL::DB::AuthGroup',
+ key_columns => { group_id => 'id' },
+ },
+ ],
);
1;
],
primary_key_columns => [ 'user_id', 'cfg_key' ],
+
+ foreign_keys => [
+ user => {
+ class => 'SL::DB::AuthUser',
+ key_columns => { user_id => 'id' },
+ },
+ ],
);
1;
primary_key_columns => [ 'user_id', 'group_id' ],
foreign_keys => [
- user => {
- class => 'SL::DB::AuthUser',
- key_columns => { user_id => 'id' },
- },
-
group => {
class => 'SL::DB::AuthGroup',
key_columns => { group_id => 'id' },
},
+
+ user => {
+ class => 'SL::DB::AuthUser',
+ key_columns => { user_id => 'id' },
+ },
],
);