1 # This file has been auto-generated. Do not modify it; it will be overwritten
2 # by rose_auto_create_model.pl automatically.
3 package SL::DB::AuthUserGroup;
7 use parent qw(SL::DB::Object);
9 __PACKAGE__->meta->table('user_group');
10 __PACKAGE__->meta->schema('auth');
12 __PACKAGE__->meta->columns(
13 group_id => { type => 'integer', not_null => 1 },
14 user_id => { type => 'integer', not_null => 1 },
17 __PACKAGE__->meta->primary_key_columns([ 'user_id', 'group_id' ]);
19 __PACKAGE__->meta->foreign_keys(
21 class => 'SL::DB::AuthGroup',
22 key_columns => { group_id => 'id' },
26 class => 'SL::DB::AuthUser',
27 key_columns => { user_id => 'id' },