mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
#2695 - DDL Generation for @UniqueConstraint ignores the name - should be the index name when given
This commit is contained in:
@@ -7,7 +7,7 @@ import javax.persistence.UniqueConstraint;
|
||||
|
||||
@Cache(naturalKey = "appName")
|
||||
@Entity
|
||||
@UniqueConstraint(columnNames = "app_name")
|
||||
@UniqueConstraint(name="uq_ocached_app", columnNames = "app_name")
|
||||
public class OCachedApp extends OCacheBase {
|
||||
|
||||
private String appName;
|
||||
|
||||
Reference in New Issue
Block a user