Revision 75687e03
Von Tamino Steinert vor 6 Tagen hinzugefügt
SL/DB/MetaSetup/Part.pm | ||
---|---|---|
53 | 53 |
|
54 | 54 |
__PACKAGE__->meta->primary_key_columns([ 'id' ]); |
55 | 55 |
|
56 |
__PACKAGE__->meta->unique_keys([ 'partnumber' ]); |
|
56 |
__PACKAGE__->meta->unique_keys( |
|
57 |
[ 'ean' ], |
|
58 |
[ 'partnumber' ], |
|
59 |
); |
|
57 | 60 |
|
58 | 61 |
__PACKAGE__->meta->allow_inline_column_values(1); |
59 | 62 |
|
Auch abrufbar als: Unified diff
S:D:Part: EAN eindeutig machen