Revision d2c5f647
Von Moritz Bunkus vor etwa 9 Jahren hinzugefügt
SL/DB/MetaSetup/AuthUserGroup.pm | ||
---|---|---|
4 | 4 |
|
5 | 5 |
use strict; |
6 | 6 |
|
7 |
use base qw(SL::DB::Object);
|
|
7 |
use parent qw(SL::DB::Object);
|
|
8 | 8 |
|
9 | 9 |
__PACKAGE__->meta->table('user_group'); |
10 | 10 |
__PACKAGE__->meta->schema('auth'); |
11 | 11 |
|
12 | 12 |
__PACKAGE__->meta->columns( |
13 |
user_id => { type => 'integer', not_null => 1 }, |
|
14 | 13 |
group_id => { type => 'integer', not_null => 1 }, |
14 |
user_id => { type => 'integer', not_null => 1 }, |
|
15 | 15 |
); |
16 | 16 |
|
17 | 17 |
__PACKAGE__->meta->primary_key_columns([ 'user_id', 'group_id' ]); |
... | ... | |
28 | 28 |
}, |
29 | 29 |
); |
30 | 30 |
|
31 |
# __PACKAGE__->meta->initialize; |
|
32 |
|
|
33 | 31 |
1; |
34 | 32 |
; |
Auch abrufbar als: Unified diff
rose_auto_create_model.pl: --all behandelt auch auth-Tabellen