Skip to content

Commit

Permalink
fix: allow larger snippets
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinWitt committed Nov 12, 2023
1 parent 6126150 commit 4ee3902
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

import io.github.martinwitt.laughing_train.domain.value.Position;
import io.quarkus.hibernate.orm.panache.PanacheEntity;
import jakarta.persistence.Column;
import jakarta.persistence.Entity;

@Entity
Expand All @@ -14,7 +15,10 @@ public class BadSmellDao extends PanacheEntity {
private String filePath;
private String message;
private String messageMarkdown;

@Column(columnDefinition = "TEXT", length = 100000)
private String snippet;

private String projectName;
private String projectUrl;
private String commitHash;
Expand Down

0 comments on commit 4ee3902

Please sign in to comment.