2017-10-17 6 views
0

저는 JHipster 4.1을 사용 중이며 새 모델 추가에 도움이 필요합니다. AbstractAuditingEntity 클래스를 확장하여 모델 클래스를 만들려고하지만, changelog 파일 생성을 위해 mvnw liquibase : diff를 수행하면 새 파일에 타임 스탬프에 대한 TINYBLOB 데이터 형식이 있습니다. 왜 그렇게 생성하는지 모르겠습니다. 잘못 데이터 유형을 생성하는 이유 Jhipster : 도메인 클래스의 ZonedDateTime이 타임 스탬프로 변환되지 않고 대신 liquibase changelog 파일의 TINYBLOB로 변환됩니다.

> <column name="created_by" type="VARCHAR(50)"> 
>    <constraints nullable="false"/> 
>   </column> 
>   <column name="created_date" type="TINYBLOB"> 
>    <constraints nullable="false"/> 
>   </column> 
>   <column name="last_modified_by" type="VARCHAR(50)"/> 
>   <column name="last_modified_date" type="TINYBLOB"/> 

는 사람이 제안하십시오 수 있습니다.

답변