Merge pull request #18 from Sgmder/master

修复字段长度设置错误问题导致使用mysql数据库初始化报错的问题
pull/21/head
RYAN0UP_ 2018-07-04 14:55:17 +08:00 committed by GitHub
commit c37dabbd97
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 4 deletions

View File

@ -2,10 +2,7 @@ package cc.ryanc.halo.model.domain;
import lombok.Data; import lombok.Data;
import javax.persistence.Entity; import javax.persistence.*;
import javax.persistence.Id;
import javax.persistence.Lob;
import javax.persistence.Table;
import java.io.Serializable; import java.io.Serializable;
/** /**
@ -27,6 +24,7 @@ public class Options implements Serializable {
* *
*/ */
@Id @Id
@Column(length = 127)
private String optionName; private String optionName;
/** /**