Fix unique constraint on LB values
This commit is contained in:
parent
27d06fbe37
commit
b2312f7dbc
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ __PACKAGE__->add_columns(
|
||||||
|
|
||||||
__PACKAGE__->set_primary_key("id");
|
__PACKAGE__->set_primary_key("id");
|
||||||
|
|
||||||
__PACKAGE__->add_unique_constraint([qw/ user_id set_id /]);
|
__PACKAGE__->add_unique_constraint([qw/ entity_id set_id /]);
|
||||||
|
|
||||||
__PACKAGE__->belongs_to(
|
__PACKAGE__->belongs_to(
|
||||||
"set",
|
"set",
|
||||||
|
|
Reference in a new issue