GitHub user tomsun28 added a comment to the discussion: When I tried to fix 
issue #3184, I encountered a problem and need help.

hi, to fix this issue , i think we need update define in code here `@Size 
@Column`
```
    @Schema(title = "Alarm Threshold Expr", example = "usage>90", accessMode = 
READ_WRITE)
    @Size(max = 2048)
    @Column(length = 2048)
    private String expr;
```
And then add a database migration as above, the migration is right and it is 
recommended to use more generic file names, because 1.7.1 may have other SQL 
changes.   

GitHub link: 
https://github.com/apache/hertzbeat/discussions/3196#discussioncomment-12666383

----
This is an automatically sent email for dev@hertzbeat.apache.org.
To unsubscribe, please send an email to: dev-unsubscr...@hertzbeat.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@hertzbeat.apache.org
For additional commands, e-mail: dev-h...@hertzbeat.apache.org

Reply via email to