mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
#955 - Migration "add column" DDL with check constraint is missing constraint name
This commit is contained in:
@@ -843,6 +843,7 @@ public class BaseTableDdl implements TableDdl {
|
||||
buffer.append(" not null");
|
||||
}
|
||||
if (hasValue(column.getCheckConstraint())) {
|
||||
buffer.append(" constraint ").append(column.getCheckConstraintName());
|
||||
buffer.append(" ").append(column.getCheckConstraint());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user