fixed #62 : Domain wird aus DNS geloescht
This commit is contained in:
parent
4947511bde
commit
73fbf80782
@ -32,7 +32,7 @@ public class Domain extends AbstractEntity {
|
||||
@GeneratedValue(strategy = SEQUENCE, generator = "DomainsSeqGen")
|
||||
private long id;
|
||||
|
||||
@FieldValidation("[a-z0-9\\-\\.]*")
|
||||
@FieldValidation("([-a-z0-9]+\\.)+[a-z]{2,}")
|
||||
@Column(name = "domain_name", columnDefinition = "character varying(256)", nullable = false)
|
||||
private String name;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user